add named export
This commit is contained in:
parent
07bddd2c15
commit
69f17e4425
|
@ -9,7 +9,7 @@ import { loadShout } from '../../stores/zine/articles'
|
||||||
import { Popup } from '../_shared/Popup'
|
import { Popup } from '../_shared/Popup'
|
||||||
import { useLocalize } from '../../context/localize'
|
import { useLocalize } from '../../context/localize'
|
||||||
import { useSnackbar } from '../../context/snackbar'
|
import { useSnackbar } from '../../context/snackbar'
|
||||||
import VotersList from '../_shared/VotersList'
|
import { VotersList } from '../_shared/VotersList'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
comment: Reaction
|
comment: Reaction
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { loadShout } from '../../stores/zine/articles'
|
||||||
import { useSession } from '../../context/session'
|
import { useSession } from '../../context/session'
|
||||||
import { useReactions } from '../../context/reactions'
|
import { useReactions } from '../../context/reactions'
|
||||||
import { Popup } from '../_shared/Popup'
|
import { Popup } from '../_shared/Popup'
|
||||||
import VotersList from '../_shared/VotersList'
|
import { VotersList } from '../_shared/VotersList'
|
||||||
import { useLocalize } from '../../context/localize'
|
import { useLocalize } from '../../context/localize'
|
||||||
|
|
||||||
interface ShoutRatingControlProps {
|
interface ShoutRatingControlProps {
|
||||||
|
|
|
@ -10,7 +10,7 @@ type Props = {
|
||||||
fallbackMessage: string
|
fallbackMessage: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const VotersList = (props: Props) => {
|
export const VotersList = (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<div class={styles.VotersList}>
|
<div class={styles.VotersList}>
|
||||||
<ul class={clsx('nodash', styles.users)}>
|
<ul class={clsx('nodash', styles.users)}>
|
||||||
|
@ -42,5 +42,3 @@ const VotersList = (props: Props) => {
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default VotersList
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export { default } from './VotersList'
|
export { VotersList } from './VotersList'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user