From 83eba0a95ee65cab1fa42b1591d5ee475d895bda Mon Sep 17 00:00:00 2001 From: Dijana Pavlovic Date: Fri, 22 Dec 2023 20:05:47 -0600 Subject: [PATCH] Update readme --- packages/auth-remix/readme.md | 2 +- packages/auth-remix/src/client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auth-remix/readme.md b/packages/auth-remix/readme.md index 04b4be4ff..117e5e682 100644 --- a/packages/auth-remix/readme.md +++ b/packages/auth-remix/readme.md @@ -18,7 +18,7 @@ npm install @edgedb/auth-remix 1. Initialize the client auth helper by passing configuration options to `createClientAuth()`. This will return a `RemixClientAuth` object which you can use in your components. You can skip this part if you find it unnecessary and provide all your data through the loader (the next step), but we suggest having the client auth too and use it directly in your components to get OAuth, BuiltinUI and signout URLs. ```ts -// app/services/auth.client.ts +// app/services/auth.ts import createClientAuth, { type RemixAuthOptions, diff --git a/packages/auth-remix/src/client.ts b/packages/auth-remix/src/client.ts index ef502633a..00c72a7b4 100644 --- a/packages/auth-remix/src/client.ts +++ b/packages/auth-remix/src/client.ts @@ -1,4 +1,4 @@ -import { type BuiltinOAuthProviderNames } from "@edgedb/auth-core"; +import type { BuiltinOAuthProviderNames } from "@edgedb/auth-core"; export interface RemixAuthOptions { baseUrl: string;