Skip to content

Commit 8d97d72

Browse files
committed
PWV Overload Fix
1 parent f2edc12 commit 8d97d72

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/window/AppBar/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
color: var(--color-black);
1515
padding: 0.25rem 1rem;
1616
border-radius: 0.25rem;
17+
text-wrap: nowrap;
1718
}
1819

1920
.root-app-bar-title:not(.is-desktop) {

src/utils/desktopTools.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const setupDesktopTools = () => {
9090
}
9191

9292
const loadProjectId = async (): Promise<string | null> => {
93+
if (!isDesktop()) return null;
9394
await waitForPWV();
9495
return (await pwv!.api.load_project_id()) || null;
9596
}

0 commit comments

Comments
 (0)