Submitting identifier and fetching customer data
This commit is contained in:
12
app/store.ts
Normal file
12
app/store.ts
Normal 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(),
|
||||
}],
|
||||
});
|
||||
Reference in New Issue
Block a user