Skip to content

Commit

Permalink
fix: currency performance import error
Browse files Browse the repository at this point in the history
  • Loading branch information
marekvospel committed Feb 11, 2022
1 parent 8818a09 commit 7eb59bb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/CurrencyPerformance/Chart.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount } from 'svelte';
import Chart from 'chart.js/auto';
import Chart from 'chart.js/auto/auto.esm';

This comment has been minimized.

Copy link
@marekvospel

marekvospel Feb 11, 2022

Author Contributor
import 'chartjs-adapter-date-fns';
let ctx: HTMLCanvasElement;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import GridLayout from '$lib/Common/GridLayout.svelte';
import CurrencyPerfomance from '$lib/components/CurrencyPerformance/CurrencyPerfomance.svelte';
import CurrencyPerfomance from '$components/CurrencyPerformance/CurrencyPerfomance.svelte';
// To be populated dynamically from the DB when this route is served.
let currencyPerfomance = [
Expand Down
2 changes: 1 addition & 1 deletion src/routes/profile/[address]/history.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import GridLayout from '$lib/Common/GridLayout.svelte';
import HistoryPage from '$lib/components/HistoryPage.svelte';
import ProfileNavigation from '$lib/profile/ProfileNavigation.svelte';
import ProfileNavigation from '$lib/Profile/ProfileNavigation.svelte';
import { shortenAddress } from '$utils';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/profile/[walletAddress].svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import GridLayout from '$lib/Common/GridLayout.svelte';
import ProfileNavigation from '$lib/profile/ProfileNavigation.svelte';
import ProfileNavigation from '$lib/Profile/ProfileNavigation.svelte';
import { onMount } from 'svelte';
let profile: IWallet = {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/profile/history/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import GridLayout from '$lib/Common/GridLayout.svelte';
import HistoryPage from '$lib/components/HistoryPage.svelte';
import ProfileNavigation from '$lib/profile/ProfileNavigation.svelte';
import ProfileNavigation from '$lib/Profile/ProfileNavigation.svelte';
export let data;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/profile/index.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import CreditCard from '$lib/profile/CreditCard.svelte';
import CreditCard from '$lib/Profile/CreditCard.svelte';
import Navbar from '$components/Navbar/Navbar.svelte';
import Button from '$lib/Common/Button.svelte';
Expand Down

1 comment on commit 7eb59bb

@marekvospel
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fixed some import names, as on linux directory names are case sensitive.

Please sign in to comment.