Ref: modification components in selfcheckout
This commit is contained in:
parent
251a6a2a6a
commit
ab7a02bcca
40 changed files with 1315 additions and 557 deletions
7
package/components/atoms/states/CustomerAtom.tsx
Normal file
7
package/components/atoms/states/CustomerAtom.tsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { atom } from 'jotai';
|
||||
import { CustomerInterface } from '@interfaces/ResponseInterfaces/Customer/CustomerResponseInterface';
|
||||
|
||||
|
||||
const CustomerAtom = atom<CustomerInterface | null>(null); // Estado inicial vacío
|
||||
|
||||
export default CustomerAtom;
|
||||
6
package/components/atoms/states/UserAtom.tsx
Normal file
6
package/components/atoms/states/UserAtom.tsx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { atom } from 'jotai';
|
||||
import { UserResposeInterface } from '@interfaces/ResponseInterfaces/Auth/UserResponseInterface';
|
||||
|
||||
const UserAtom = atom<UserResposeInterface | null>(null);
|
||||
|
||||
export default UserAtom;
|
||||
Loading…
Add table
Add a link
Reference in a new issue