Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
reiji-h committed Aug 13, 2024
1 parent 0c37e3c commit bb6140f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type TableWithEditButtonProps = {
className?: string
}

export const TableWithEditButton = React.memo((props: TableWithEditButtonProps): JSX.Element => {
const TableWithEditButtonNoMemorized = (props: TableWithEditButtonProps): JSX.Element => {
const { children, node, className } = props;

const { data: isGuestUser } = useIsGuestUser();
Expand Down Expand Up @@ -60,5 +60,6 @@ export const TableWithEditButton = React.memo((props: TableWithEditButtonProps):
</table>
</div>
);
}) as typeof TableWithEditButton;
TableWithEditButton.displayName = 'TableWithEditButton';
};
TableWithEditButtonNoMemorized.displayName = 'TableWithEditButton';
export const TableWithEditButton = React.memo(TableWithEditButtonNoMemorized) as typeof TableWithEditButtonNoMemorized;

0 comments on commit bb6140f

Please sign in to comment.