feat: admin page #35
Annotations
3 errors and 1 warning
|
lint
Process completed with exit code 1.
|
|
lint:
src/pages/AdminProductsPage.tsx#L49
'err' is defined but never used
|
|
lint:
src/pages/AdminOrdersPage.tsx#L68
'err' is defined but never used
|
|
lint:
src/hooks/usePermissions.ts#L13
The 'permissions' logical expression could make the dependencies of useMemo Hook (at line 25) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'permissions' in its own useMemo() Hook
|