fix: Make webapp package env variables dynamic

This commit is contained in:
Ahmed Bouhuolia
2024-08-25 18:21:08 +02:00
parent 1eaac9d691
commit 2072e35cfa
12 changed files with 186 additions and 118 deletions

View File

@@ -100,7 +100,7 @@ export const useAuthResetPassword = (props) => {
/**
* Fetches the authentication page metadata.
*/
export const useAuthMetadata = (props) => {
export const useAuthMetadata = (props = {}) => {
return useRequestQuery(
[t.AUTH_METADATA_PAGE],
{