remove unused goto imports

This commit is contained in:
Ben McCann
2024-01-22 08:52:16 -08:00
parent b8230dc14d
commit 8276e516a4
3 changed files with 2 additions and 5 deletions
-1
View File
@@ -1,5 +1,4 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { Heading } from '$lib/components';
import { Account, Client } from '@appwrite.io/console';
+1 -2
View File
@@ -1,12 +1,11 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { Heading } from '$lib/components';
const project = $page.url.searchParams.get('project');
const link = `appwrite-callback-${project}://${$page.url.search}`;
const redirect = new Promise((resolve, reject) => {
const redirect = new Promise((_resolve, reject) => {
if (!project) {
reject('no-project');
}
+1 -2
View File
@@ -1,12 +1,11 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { Heading } from '$lib/components';
const project = $page.url.searchParams.get('project');
const link = `appwrite-callback-${project}://${$page.url.search}`;
const redirect = new Promise((resolve, reject) => {
const redirect = new Promise((_resolve, reject) => {
if (!project) {
reject('no-project');
}