12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
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(),
|
|
}],
|
|
}); |