We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19bd0e commit 0a5abfaCopy full SHA for 0a5abfa
apps/frontend/src/widgets/TopNavView/ui/index.tsx
@@ -15,10 +15,10 @@ export function TopNavView({ onExpand, isExpanded }: TopNavProps) {
15
const { data } = useUserWorkspace();
16
17
const getWorkspaceTitle = () => {
18
- if (!workspaceId) return "공용 워크스페이스";
+ if (!workspace) return "공용 워크스페이스";
19
20
return (
21
- data?.workspaces.find((w) => w.workspaceId === workspaceId)?.title ??
+ data?.workspaces.find((w) => w.workspaceId === workspace)?.title ??
22
"로딩 중..."
23
);
24
};
0 commit comments