added NPED form and sonner toast

This commit is contained in:
2025-08-18 16:04:03 +01:00
parent be7f0cf1de
commit 9288540957
11 changed files with 149 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ import type {
CameraSettingErrorValues,
CameraSettingValues,
} from "../../types/types";
import { toast } from "sonner";
const CameraSettingFields = () => {
const initialValues: CameraSettingValues = {
@@ -24,6 +25,7 @@ const CameraSettingFields = () => {
const handleSubmit = (values: CameraSettingValues) => {
// post values to endpoint
toast("Settings Saved");
console.log(values);
};