-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement Admin mode, add nano stores
- Loading branch information
1 parent
19a5beb
commit ddc8354
Showing
7 changed files
with
103 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
examples/kendo-react-e-commerce-astro-app/src/helpers/AdminContext.tsx
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
examples/kendo-react-e-commerce-astro-app/src/helpers/CartContext.tsx
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
examples/kendo-react-e-commerce-astro-app/src/helpers/adminStore.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { atom } from 'nanostores'; | ||
|
||
export const isAdmin = atom(false); |