Skip to content

Commit

Permalink
Feature/default graph (#18)
Browse files Browse the repository at this point in the history
* feat: Automatically load default Parquet files from public/artifacts on app startup

* Fix eslint
  • Loading branch information
noworneverev authored Oct 22, 2024
1 parent 382c8be commit 65c798c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/app/components/GraphDataHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const GraphDataHandler: React.FC = () => {
if (process.env.NODE_ENV === "development") {
loadDefaultFiles();
}
// eslint-disable-next-line
}, []);

useEffect(() => {
Expand Down
6 changes: 3 additions & 3 deletions src/app/hooks/useFileHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ const useFileHandler = () => {
console.log(`File exists: ${filePath}`);
return true;
} else {
console.warn(
`File does not exist or incorrect type: ${filePath} (Content-Type: ${contentType})`
);
// console.warn(
// `File does not exist or incorrect type: ${filePath} (Content-Type: ${contentType})`
// );
return false;
}
} else {
Expand Down

0 comments on commit 65c798c

Please sign in to comment.