@@ -13,7 +14,7 @@
class="absolute inset-0 cursor-pointer bg-black opacity-75"
transition:fade={{duration: 300}}
on:click={onClose} />
-
diff --git a/src/lib/components/Page.svelte b/src/lib/components/Page.svelte
index 7ff46fa9..8a55bb57 100644
--- a/src/lib/components/Page.svelte
+++ b/src/lib/components/Page.svelte
@@ -1,3 +1,3 @@
-
+
diff --git a/src/lib/components/Tippy.svelte b/src/lib/components/Tippy.svelte
index f08e729c..de62d016 100644
--- a/src/lib/components/Tippy.svelte
+++ b/src/lib/components/Tippy.svelte
@@ -22,7 +22,7 @@
popover = tippy(element, {
content: target,
animation: "shift-away",
- appendTo: document.querySelector('.tippy-target')!,
+ appendTo: document.querySelector(".tippy-target")!,
...params,
})
diff --git a/src/lib/editor/SuggestionProfile.svelte b/src/lib/editor/SuggestionProfile.svelte
index b1308548..1fadee86 100644
--- a/src/lib/editor/SuggestionProfile.svelte
+++ b/src/lib/editor/SuggestionProfile.svelte
@@ -10,8 +10,6 @@
} from "@welshman/app"
import Avatar from "@lib/components/Avatar.svelte"
import WotScore from "@lib/components/WotScore.svelte"
- import ProfileDetail from "@app/components/ProfileDetail.svelte"
- import {pushDrawer} from "@app/modal"
export let value
diff --git a/src/lib/html.ts b/src/lib/html.ts
index f76cdce5..f0d6e763 100644
--- a/src/lib/html.ts
+++ b/src/lib/html.ts
@@ -34,7 +34,7 @@ export const createScroller = ({
let done = false
const check = async () => {
- const container = element.closest('.scroll-container')
+ const container = element.closest(".scroll-container")
if (container) {
// While we have empty space, fill it
diff --git a/src/lib/transition.ts b/src/lib/transition.ts
index 3af220e0..45d8a7c4 100644
--- a/src/lib/transition.ts
+++ b/src/lib/transition.ts
@@ -9,8 +9,8 @@ export const fly = (node: Element, params?: FlyParams | undefined) =>
baseFly(node, {y: 20, ...params})
export type TranslateParams = {
- delay?: number,
- duration?: number,
+ delay?: number
+ duration?: number
easing?: (t: number) => number
axis?: "x" | "y"
reverse?: boolean
@@ -18,7 +18,7 @@ export type TranslateParams = {
export const translate = (
node: Element,
- {delay = 0, duration = 400, easing = cubicOut, axis = "y", reverse = false}: TranslateParams = {}
+ {delay = 0, duration = 400, easing = cubicOut, axis = "y", reverse = false}: TranslateParams = {},
) => {
return {
delay,
@@ -32,7 +32,7 @@ export const translate = (
} else {
return `transform: translateY(${p})`
}
- }
+ },
}
}
@@ -75,5 +75,6 @@ export function slideAndFade(
}
}
-export const conditionalTransition = (condition: any, transition: any) =>
- (node: any, args?: any) => condition ? transtion(node, args) : null
+export const conditionalTransition =
+ (condition: any, transition: any) => (node: any, args?: any) =>
+ condition ? transtion(node, args) : null
diff --git a/src/routes/discover/+page.svelte b/src/routes/discover/+page.svelte
index 0e876358..8a503899 100644
--- a/src/routes/discover/+page.svelte
+++ b/src/routes/discover/+page.svelte
@@ -1,7 +1,7 @@