mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-20 08:33:52 +01:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -17,7 +17,7 @@ const pinnedWebsocketConnectionIdAtom = atomWithKVStorage<Record<string, string
|
||||
);
|
||||
|
||||
function recordKey(activeRequestId: string | null, latestConnection: WebsocketConnection | null) {
|
||||
return activeRequestId + '-' + (latestConnection?.id ?? 'none');
|
||||
return `${activeRequestId}-${latestConnection?.id ?? 'none'}`;
|
||||
}
|
||||
|
||||
export const activeWebsocketConnectionsAtom = atom<WebsocketConnection[]>((get) => {
|
||||
|
||||
Reference in New Issue
Block a user