Skip to content

Commit

Permalink
fix: correct comparison for menu page items length
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-golovanov committed Dec 23, 2024
1 parent c5238ff commit 1ef7d57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Move = ({ disabled }: Props) => {
{createMessage(CONTEXT_MOVE)}
</MenuSubTrigger>
<MenuSubContent>
{menuPages.length > 1 ? (
{menuPages.length ? (
menuPages.map((page) => {
return (
<PageMenuItem
Expand Down

0 comments on commit 1ef7d57

Please sign in to comment.