Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
remove dynamic import from LikeButton
Browse files Browse the repository at this point in the history
  • Loading branch information
ceolinwill committed Jun 29, 2020
1 parent 6d434e7 commit 5b2e6f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/PostBarActions.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 5b2e6f8

Please sign in to comment.