Skip to content

Commit

Permalink
fix: revert missing deps array and skip linting for it
Browse files Browse the repository at this point in the history
  • Loading branch information
dotloadmovie committed Apr 6, 2023
1 parent 8efda88 commit 6c27d87
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 6c27d87

Please sign in to comment.