Skip to content

Commit

Permalink
Merge pull request #124 from data-to-insight/fix/mising-deps-array
Browse files Browse the repository at this point in the history
fix: revert missing deps array and skip linting for it
  • Loading branch information
dotloadmovie authored Apr 6, 2023
2 parents 01f6223 + 6c27d87 commit e829b98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/loadData/LoadData.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** @jsxImportSource @emotion/react */
/* eslint-disable react-hooks/exhaustive-deps */

import React, { useState, useEffect } from "react";
import {
Expand Down Expand Up @@ -74,7 +75,7 @@ const LoadData = (props: LoadDataPageProps) => {
};

init();
});
}, []);

const getInitialSelectedRuleState = (rules: Rule[]): string[] => {
if (rules.length === 0) {
Expand Down

0 comments on commit e829b98

Please sign in to comment.