Merged in chore/SW-3381-move-loginbutton-to-ds- (pull request #2752)
chore(SW-3381) Moved LoginButton to design system * chore(SW-3381) Moved LoginButton to design system Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
|
||||
import { TRPCClientError } from "@trpc/client"
|
||||
|
||||
import { login } from "@scandic-hotels/common/constants/routes/handleAuth"
|
||||
import { logger } from "@scandic-hotels/common/logger"
|
||||
import { SessionExpiredError } from "@scandic-hotels/trpc/errors"
|
||||
import { TrpcProvider as InternalTrpcProvider } from "@scandic-hotels/trpc/Provider"
|
||||
|
||||
import { login } from "@/constants/routes/handleAuth"
|
||||
|
||||
import useLang from "@/hooks/useLang"
|
||||
|
||||
import type { AnyTRPCRouter } from "@trpc/server"
|
||||
|
||||
@@ -3,6 +3,7 @@ import { cookies, headers } from "next/headers"
|
||||
import { redirect } from "next/navigation"
|
||||
|
||||
import { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import { login } from "@scandic-hotels/common/constants/routes/handleAuth"
|
||||
import { createLogger } from "@scandic-hotels/common/logger/createLogger"
|
||||
import { createContext } from "@scandic-hotels/trpc/context"
|
||||
import {
|
||||
@@ -10,7 +11,6 @@ import {
|
||||
configureServerClient,
|
||||
} from "@scandic-hotels/trpc/serverClient"
|
||||
|
||||
import { login } from "@/constants/routes/handleAuth"
|
||||
import { webviews } from "@/constants/routes/webviews"
|
||||
|
||||
import { auth } from "@/auth"
|
||||
|
||||
Reference in New Issue
Block a user