Skip to content

Commit fd9913a

Browse files
authored
lazily render message menu actions (LAION-AI#2656)
NextLink auto prefetch the page (I think because we are using root getInitialProps).
1 parent 5f951b0 commit fd9913a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎website/src/components/Messages/MessageTableEntry.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ const MessageActions = ({
275275
const isAdminOrMod = useHasAnyRole(["admin", "moderator"]);
276276
const { locale } = useRouter();
277277
return (
278-
<Menu>
278+
<Menu isLazy>
279279
<MenuButton>
280280
<MoreHorizontal />
281281
</MenuButton>

0 commit comments

Comments
 (0)