removing unnessary dependencies

This commit is contained in:
Hari Krishna
2024-06-13 09:56:31 +00:00
committed by satti-hari-krishna-reddy
parent e90b698f84
commit f8c786b9ec
2 changed files with 2 additions and 3 deletions
@@ -52,7 +52,6 @@ const DetectionDashBoard = (props) => {
const handleSave = (updatedContent) => {
toast("this will be saved");
setSelectedRule(null); // Close the edit bar after saving
};
const getFileContent = (file_id) => {
+2 -2
View File
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { Box, Typography, Button, Switch, TextField } from '@mui/material';
import React from 'react';
import { Box, Typography, Button, TextField } from '@mui/material';
const EditComponent = ({ ruleName, description, content, setContent, lastEdited, editedBy, onSave }) => {