Submitting identifier and fetching customer data

This commit is contained in:
2025-06-16 21:28:47 +03:00
parent 069fff7294
commit 667e341445
10 changed files with 394 additions and 203 deletions

12
app/store.ts Normal file
View File

@@ -0,0 +1,12 @@
import { atom } from "jotai";
import { CustomerData } from "./types";
export const customerState = atom<CustomerData>({
identifier: 'Tuntematon',
location: 'Tuntematon',
boxes: [{
id: 'Tuntematon',
delivery_date: new Date(),
pickup_date: new Date(),
}],
});