We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffc191 commit 5802e79Copy full SHA for 5802e79
src/components/App.tsx
@@ -12,7 +12,7 @@ export default function App() {
12
13
const source = getHttpSource(sourceId) ?? getHyperparamSource(sourceId, { endpoint: location.origin })
14
15
- // Use memo to avoid creating a new object on each render
+ // Memoize the config to avoid creating a new object on each render
16
const config: Config = useMemo(() => ({
17
routes: {
18
getSourceRouteUrl: ({ sourceId }) => `/files?key=${sourceId}`,
0 commit comments