Skip to content

Commit fd9913a

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)