Skip to content

Commit 5802e79

Browse files
committed
comment
1 parent 2ffc191 commit 5802e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function App() {
1212

1313
const source = getHttpSource(sourceId) ?? getHyperparamSource(sourceId, { endpoint: location.origin })
1414

15-
// Use memo to avoid creating a new object on each render
15+
// Memoize the config to avoid creating a new object on each render
1616
const config: Config = useMemo(() => ({
1717
routes: {
1818
getSourceRouteUrl: ({ sourceId }) => `/files?key=${sourceId}`,

0 commit comments

Comments
 (0)