diff --git a/frontend/packages/shared/src/utils/_useIsProdHack.ts b/frontend/packages/shared/src/utils/_useIsProdHack.ts deleted file mode 100644 index afb49b5d8c3..00000000000 --- a/frontend/packages/shared/src/utils/_useIsProdHack.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * We should replace this with a more stable solution which doesn't check on hostname. - * Backend should send this information as a settings variable to the frontend. - * - * @deprecated - */ -export const _useIsProdHack = () => - ['www.altinn.studio', 'altinn.studio'].includes(window.location.hostname);