Skip to content

Commit c318dca

Browse files
committed
fix: prettier formatting and void expression in main.tsx
1 parent d23ba26 commit c318dca

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/bridges/user/web/frontend/main.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,12 @@ function sendAction(action: Action): void {
144144

145145
async function refreshState(): Promise<void> {
146146
try {
147-
const [agents, rooms] = await Promise.all([
148-
fetchAgents(),
149-
fetchRooms(),
150-
]);
147+
const [agents, rooms] = await Promise.all([fetchAgents(), fetchRooms()]);
151148
state.setAgents(agents);
152149
state.setRooms(rooms);
153150
} catch {
154151
// REST API unavailable (standalone PWA) — MeshClient provides state
152+
return;
155153
}
156154
}
157155

0 commit comments

Comments
 (0)