Skip to content

Commit c400a8f

Browse files
committed
Remove false positive warnings
1 parent e165ab5 commit c400a8f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/App/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function App() {
2525
);
2626
}
2727

28+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2829
function Layout() {
2930
return (
3031
<div className="layout">

src/Visualizer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ const Visualizer: React.FC<VisualizerProps> = (props: VisualizerProps) => {
350350
setCurrentDatabase(databaseConfig);
351351
setDatabasesLoaded(true);
352352
});
353-
}, []);
353+
}, []); // eslint-disable-line react-hooks/exhaustive-deps
354354

355355
return (
356356
<ReactFlowProvider>

0 commit comments

Comments
 (0)