[WIP] add middleware to reroute from admin pages #2025
Annotations
2 errors and 2 warnings
Lint:
frontend/src/pages/_middleware.ts#L5
React Hook "useHasAdminPermission" is called in function "middleware" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter
|
Lint
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading