Skip to content

Commit 8f3e2b5

Browse files
committed
updated with-auth example
1 parent 1816b84 commit 8f3e2b5

3 files changed

Lines changed: 18 additions & 13 deletions

File tree

examples/pnpm-lock.yaml

Lines changed: 16 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/with-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@solidjs/router": "^0.15.3",
1111
"@solidjs/start": "^1.1.7",
1212
"solid-js": "^1.9.7",
13-
"start-oauth": "^1.2.2",
13+
"start-oauth": "^1.2.4",
1414
"unstorage": "1.16.1",
1515
"vinxi": "^0.5.8"
1616
},

examples/with-auth/src/routes/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useSubmission } from "@solidjs/router";
22
import { Show } from "solid-js";
3-
import { useOAuthLogin } from "start-oauth";
3+
import useOAuthLogin from "start-oauth/client";
44
import { passwdSignIn } from "~/lib";
55

66
export default function Login() {

0 commit comments

Comments
 (0)