quivr/frontend/lib/api/brain/config.ts
Mamadou DICKO bea275f2ff
feat: add tanstack query and optimistic fetch on brains settings page (#1087)
* refactor: remove <TrackingWrapper />

* feat: add tanstack query

* feat: add optimistic fetch to brain settings page
2023-09-01 15:14:35 +02:00

5 lines
130 B
TypeScript

const brainDataKey = "quivr-brains";
export const getBrainDataKey = (brainId: string): string =>
`${brainDataKey}-${brainId}`;