Skip to content

Commit

Permalink
fix: 모바일 노드 진입 시 탭 이벤트 추가 (#209)
Browse files Browse the repository at this point in the history
fix: 탭을 통한 노드 진입 추가
  • Loading branch information
CatyJazzy authored Dec 5, 2024
1 parent 5c24012 commit 30fcba2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/frontend/src/components/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ export function NoteNode({
navigate(`/note/${src}`);
}
}}
onTap={() => {
navigate(`/note/${src}`);
}}
onContextMenu={onContextMenu}
{...rest}
>
Expand Down Expand Up @@ -255,6 +258,7 @@ export function SubspaceNode({
x={x}
y={y}
onClick={() => navigate(`/space/${src}`)}
onTap={() => navigate(`/space/${src}`)}
onContextMenu={onContextMenu}
{...rest}
>
Expand Down

0 comments on commit 30fcba2

Please sign in to comment.