diff --git a/src/components/Article/CommentRatingControl.tsx b/src/components/Article/CommentRatingControl.tsx index a5db64ba..4810cfc5 100644 --- a/src/components/Article/CommentRatingControl.tsx +++ b/src/components/Article/CommentRatingControl.tsx @@ -9,7 +9,7 @@ import { loadShout } from '../../stores/zine/articles' import { Popup } from '../_shared/Popup' import { useLocalize } from '../../context/localize' import { useSnackbar } from '../../context/snackbar' -import VotersList from '../_shared/VotersList' +import { VotersList } from '../_shared/VotersList' type Props = { comment: Reaction diff --git a/src/components/Article/ShoutRatingControl.tsx b/src/components/Article/ShoutRatingControl.tsx index 4f51169f..c4e75aad 100644 --- a/src/components/Article/ShoutRatingControl.tsx +++ b/src/components/Article/ShoutRatingControl.tsx @@ -6,7 +6,7 @@ import { loadShout } from '../../stores/zine/articles' import { useSession } from '../../context/session' import { useReactions } from '../../context/reactions' import { Popup } from '../_shared/Popup' -import VotersList from '../_shared/VotersList' +import { VotersList } from '../_shared/VotersList' import { useLocalize } from '../../context/localize' interface ShoutRatingControlProps { diff --git a/src/components/_shared/VotersList/VotersList.tsx b/src/components/_shared/VotersList/VotersList.tsx index 05d5c6e3..601750b8 100644 --- a/src/components/_shared/VotersList/VotersList.tsx +++ b/src/components/_shared/VotersList/VotersList.tsx @@ -10,7 +10,7 @@ type Props = { fallbackMessage: string } -const VotersList = (props: Props) => { +export const VotersList = (props: Props) => { return (