mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-13 07:50:22 +02:00
♻️ refactor
This commit is contained in:
@@ -171,15 +171,10 @@ export default function AlertRuleGraphEditor({
|
|||||||
variant: "destructive"
|
variant: "destructive"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// const submit = form.handleSubmit(async (values) => {
|
|
||||||
|
|
||||||
// });
|
|
||||||
|
|
||||||
// await submit();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const testAlert = async () => {
|
const testAlert = async () => {
|
||||||
const isValid = await form.trigger();
|
const isValid = await form.trigger("actions");
|
||||||
const values = form.getValues();
|
const values = form.getValues();
|
||||||
|
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user