We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee7fbb commit 42af988Copy full SHA for 42af988
1 file changed
app/components/Header/AuthModal.client.vue
@@ -1,13 +1,13 @@
1
<script setup lang="ts">
2
const handleInput = shallowRef('')
3
-
+const route = useRoute()
4
const { user, logout } = useAtproto()
5
6
async function handleBlueskySignIn() {
7
await navigateTo(
8
{
9
path: '/api/auth/atproto',
10
- query: { handle: 'https://bsky.social' },
+ query: { handle: 'https://bsky.social', returnTo: route.fullPath },
11
},
12
{ external: true },
13
)
@@ -17,7 +17,7 @@ async function handleCreateAccount() {
17
18
19
20
- query: { handle: 'https://npmx.social', create: 'true' },
+ query: { handle: 'https://npmx.social', create: 'true', returnTo: route.fullPath },
21
22
23
0 commit comments