Add lucide-react library to project
The lucide-react library has been added to the project in the `accounts` and `team-accounts` package.json files, and in the pnpm-lock.yaml. Changes were made to the next.config.mjs file to reflect this. Also, the name of the `AuthRedirectListener` function in use-auth-change-listener.ts file has been changed to `useAuthChangeListener`.
This commit is contained in:
@@ -14,8 +14,7 @@ import { useRevalidateUserSession, useUserSession } from './use-user-session';
|
||||
const PRIVATE_PATH_PREFIXES = ['/home', '/admin', '/join', '/update-password'];
|
||||
|
||||
/**
|
||||
* @name AuthRedirectListener
|
||||
* @description A component that listens to auth state changes and redirects users
|
||||
* @name useAuthChangeListener
|
||||
* @param privatePathPrefixes
|
||||
* @param appHomePath
|
||||
*/
|
||||
@@ -66,6 +65,7 @@ export function useAuthChangeListener({
|
||||
revalidateUserSession,
|
||||
pathName,
|
||||
appHomePath,
|
||||
privatePathPrefixes,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user