Skip to content

Commit

Permalink
Fix icon name
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed May 7, 2024
1 parent 9954797 commit 8ea901f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { MenuIcon, MenuItem } from '@affine/component';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import {
ExpandCloseIcon,
MoveToLeftIcon,
MoveToRightIcon,
MoveToLeftDuotoneIcon,
MoveToRightDuotoneIcon,
SoloViewIcon,
} from '@blocksuite/icons';
import { useSortable } from '@dnd-kit/sortable';
Expand Down Expand Up @@ -142,7 +142,7 @@ const SplitViewMenu = ({ view }: { view: View }) => {
viewIndex > 0 && views.length > 1 ? (
<MenuItem
onClick={handleMoveLeft}
preFix={<MenuIcon icon={<MoveToLeftIcon />} />}
preFix={<MenuIcon icon={<MoveToLeftDuotoneIcon />} />}
>
{t['com.affine.workbench.split-view-menu.move-left']()}
</MenuItem>
Expand All @@ -162,7 +162,7 @@ const SplitViewMenu = ({ view }: { view: View }) => {
viewIndex < views.length - 1 ? (
<MenuItem
onClick={handleMoveRight}
preFix={<MenuIcon icon={<MoveToRightIcon />} />}
preFix={<MenuIcon icon={<MoveToRightDuotoneIcon />} />}
>
{t['com.affine.workbench.split-view-menu.move-right']()}
</MenuItem>
Expand Down

0 comments on commit 8ea901f

Please sign in to comment.