diff --git a/src/components/PostBarActions.tsx b/src/components/PostBarActions.tsx index 1bdb8fe..631d616 100644 --- a/src/components/PostBarActions.tsx +++ b/src/components/PostBarActions.tsx @@ -1,11 +1,9 @@ -import dynamic from 'next/dynamic'; import NextLink from 'next/link'; import { Button, makeStyles } from '@material-ui/core'; import { Edit } from '@material-ui/icons'; +import LikeButton from './LikeButton'; import useTranslation from './useTranslation'; -const LikeButton = dynamic(() => import('./LikeButton')); - interface PostBarActionsProps { id: string; likes: number;