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 { useLocalize } from '../../context/localize'
|
||||
import { useSnackbar } from '../../context/snackbar'
|
||||
import VotersList from '../_shared/VotersList'
|
||||
import { VotersList } from '../_shared/VotersList'
|
||||
|
||||
type Props = {
|
||||
comment: Reaction
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -10,7 +10,7 @@ type Props = {
|
|||
fallbackMessage: string
|
||||
}
|
||||
|
||||
const VotersList = (props: Props) => {
|
||||
export const VotersList = (props: Props) => {
|
||||
return (
|
||||
<div class={styles.VotersList}>
|
||||
<ul class={clsx('nodash', styles.users)}>
|
||||
|
@ -42,5 +42,3 @@ const VotersList = (props: Props) => {
|
|||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default VotersList
|
||||
|
|
|
@ -1 +1 @@
|
|||
export { default } from './VotersList'
|
||||
export { VotersList } from './VotersList'
|
||||
|
|
Loading…
Reference in New Issue
Block a user