Skip to content

Commit

Permalink
chore: replace few import paths ../ with $lib/ (#555)
Browse files Browse the repository at this point in the history
# Motivation

Not that important but, I spotted few imports in the lib which were
using `../` paths so corrected those with `$lib/`.
  • Loading branch information
peterpeterparker authored Dec 17, 2024
1 parent 00710ad commit 78b8864
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/BottomSheet.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { nonNullish } from "@dfinity/utils";
import { layoutBottomOffset } from "$lib/stores/layout.store";
import { onDestroy } from "svelte";
import { BREAKPOINT_LARGE } from "../constants/constants";
import { BREAKPOINT_LARGE } from "$lib/constants/constants";
onDestroy(() => ($layoutBottomOffset = 0));
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/Island.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { onDestroy } from "svelte";
import { layoutContentScrollY } from "../stores/layout.store";
import { BREAKPOINT_LARGE } from "../constants/constants";
import { layoutContentScrollY } from "$lib/stores/layout.store";
import { BREAKPOINT_LARGE } from "$lib/constants/constants";
export let testId: string | undefined = undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/SplitPane.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { layoutMenuOpen } from "../stores/layout.store";
import { layoutMenuOpen } from "$lib/stores/layout.store";
let innerWidth = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/StretchPane.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { layoutMenuOpen } from "../stores/layout.store";
import { layoutMenuOpen } from "$lib/stores/layout.store";
import { BREAKPOINT_LARGE } from "$lib/constants/constants";
let innerWidth = 0;
Expand Down

0 comments on commit 78b8864

Please sign in to comment.