Commit 8276e51 1 parent b8230dc commit 8276e51 Copy full SHA for 8276e51
File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { goto } from ' $app/navigation' ;
3
2
import { page } from ' $app/stores' ;
4
3
import { Heading } from ' $lib/components' ;
5
4
import { Account , Client } from ' @appwrite.io/console' ;
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { goto } from ' $app/navigation' ;
3
2
import { page } from ' $app/stores' ;
4
3
import { Heading } from ' $lib/components' ;
5
4
6
5
const project = $page .url .searchParams .get (' project' );
7
6
const link = ` appwrite-callback-${project }://${$page .url .search } ` ;
8
7
9
- const redirect = new Promise ((resolve , reject ) => {
8
+ const redirect = new Promise ((_resolve , reject ) => {
10
9
if (! project ) {
11
10
reject (' no-project' );
12
11
}
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { goto } from ' $app/navigation' ;
3
2
import { page } from ' $app/stores' ;
4
3
import { Heading } from ' $lib/components' ;
5
4
6
5
const project = $page .url .searchParams .get (' project' );
7
6
const link = ` appwrite-callback-${project }://${$page .url .search } ` ;
8
7
9
- const redirect = new Promise ((resolve , reject ) => {
8
+ const redirect = new Promise ((_resolve , reject ) => {
10
9
if (! project ) {
11
10
reject (' no-project' );
12
11
}
You can’t perform that action at this time.
0 commit comments