Skip to content

remove window.ENV from userDetails route page  #156

@isVivek99

Description

@isVivek99

remove window.ENV from userDetails route page and use the env from ther server using the loader function
eg:

export const loader: LoaderFunction = async () => {
  const oAuthLinks = await getOAuthLinks();

  return json<LoaderData>({ ENV: oAuthLinks });
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions