mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 05:39:06 +00:00
Resolve various warnings during export
This commit is contained in:
@@ -260,7 +260,7 @@ function AutomationsCard(props: AutomationsCardProps) {
|
||||
const dayOfMonth = getDayOfMonthFromCron(automationData.crontime);
|
||||
setIntervalString(`Monthly on the ${dayOfMonth}`);
|
||||
}
|
||||
}, [updatedAutomationData, props.automation]);
|
||||
}, [updatedAutomationData, automation]);
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
@@ -275,7 +275,7 @@ function AutomationsCard(props: AutomationsCardProps) {
|
||||
})
|
||||
setToastMessage('');
|
||||
}
|
||||
}, [toastMessage]);
|
||||
}, [toastMessage, updatedAutomationData, automation, toast]);
|
||||
|
||||
if (isDeleted) {
|
||||
return null;
|
||||
@@ -955,7 +955,7 @@ export default function Automations() {
|
||||
setAllNewAutomations([...allNewAutomations, newAutomationData]);
|
||||
setNewAutomationData(null);
|
||||
}
|
||||
}, [newAutomationData]);
|
||||
}, [newAutomationData, allNewAutomations]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user