useCreateSource and useFileUpload only invalidated QUERY_KEYS.sources() which doesn't match the infinite scroll query key used by the notebook page (QUERY_KEYS.sourcesInfinite()). Added sourcesInfinite invalidation to both hooks so the source list auto-refreshes after adding sources. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| start-server.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||