Skip to content

Commit 8276e51

Browse files
committed
remove unused goto imports
1 parent b8230dc commit 8276e51

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/routes/auth/magic-url/+page.svelte

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script lang="ts">
2-
import { goto } from '$app/navigation';
32
import { page } from '$app/stores';
43
import { Heading } from '$lib/components';
54
import { Account, Client } from '@appwrite.io/console';

src/routes/auth/oauth2/failure/+page.svelte

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<script lang="ts">
2-
import { goto } from '$app/navigation';
32
import { page } from '$app/stores';
43
import { Heading } from '$lib/components';
54
65
const project = $page.url.searchParams.get('project');
76
const link = `appwrite-callback-${project}://${$page.url.search}`;
87
9-
const redirect = new Promise((resolve, reject) => {
8+
const redirect = new Promise((_resolve, reject) => {
109
if (!project) {
1110
reject('no-project');
1211
}

src/routes/auth/oauth2/success/+page.svelte

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<script lang="ts">
2-
import { goto } from '$app/navigation';
32
import { page } from '$app/stores';
43
import { Heading } from '$lib/components';
54
65
const project = $page.url.searchParams.get('project');
76
const link = `appwrite-callback-${project}://${$page.url.search}`;
87
9-
const redirect = new Promise((resolve, reject) => {
8+
const redirect = new Promise((_resolve, reject) => {
109
if (!project) {
1110
reject('no-project');
1211
}

0 commit comments

Comments
 (0)