mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 23:58:38 +08:00
Changes
This commit is contained in:
@@ -4,10 +4,10 @@ import styles from './Slot.css';
|
||||
import {connect} from 'react-redux';
|
||||
import {getSlotElements} from 'coral-framework/helpers/plugins';
|
||||
|
||||
function Slot ({fill, inline = false, plugin_config: {...config}, ...rest}) {
|
||||
function Slot ({fill, inline = false, plugin_config: config, ...rest}) {
|
||||
return (
|
||||
<div className={cn({[styles.inline]: inline, [styles.debug]: config.debug})}>
|
||||
{getSlotElements(fill, {...rest, ...config})}
|
||||
{getSlotElements(fill, {...rest, config}}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ const isOffTopic = (tags) => {
|
||||
|
||||
export default (props) => (
|
||||
<span>
|
||||
{console.log(props)}
|
||||
{
|
||||
isOffTopic(props.comment.tags) ? (
|
||||
<span className={styles.tag}>
|
||||
|
||||
Reference in New Issue
Block a user