Switch to BiomeJS (#306)

This commit is contained in:
Gregory Schier
2025-11-23 08:38:13 -08:00
committed by GitHub
parent 2bac610efe
commit ec3e2e16a9
332 changed files with 3007 additions and 4097 deletions

View File

@@ -5,7 +5,7 @@ import {
grpcEventsAtom,
replaceModelsInStore,
} from '@yaakapp-internal/models';
import { useAtomValue , atom } from 'jotai';
import { atom, useAtomValue } from 'jotai';
import { useEffect } from 'react';
import { atomWithKVStorage } from '../lib/atoms/atomWithKVStorage';
import { activeRequestIdAtom } from './useActiveRequestId';
@@ -40,7 +40,7 @@ export const pinnedGrpcConnectionIdAtom = atom(
);
function recordKey(activeRequestId: string | null, latestConnection: GrpcConnection | null) {
return activeRequestId + '-' + (latestConnection?.id ?? 'none');
return `${activeRequestId}-${latestConnection?.id ?? 'none'}`;
}
export const activeGrpcConnections = atom<GrpcConnection[]>((get) => {