removing unnessary dependencies
This commit is contained in:
committed by
satti-hari-krishna-reddy
parent
e90b698f84
commit
f8c786b9ec
@@ -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) => {
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user