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:
giancarlo
2024-04-24 20:07:36 +07:00
parent 452e9e3567
commit 38a03b6a52
5 changed files with 10 additions and 5 deletions

View File

@@ -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,
]);
}