Skip to content

Commit

Permalink
fix: icons path
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed May 14, 2024
1 parent 3180820 commit f01c62c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/src/lib/polyfill.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "viem/window"
import process from "node:process"
import { Buffer } from "node:buffer"
import EventEmitter from "node:events"
import process from "process"
import { Buffer } from "buffer"
import EventEmitter from "events"
import { browser } from "$app/environment"

if (browser) {
Expand Down
5 changes: 4 additions & 1 deletion app/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<script lang="ts">
import { cn } from "$lib/utilities/shadcn.ts"
import SvelteLogo from 'virtual:icons/logos/svelte-icon'
</script>

<main
class={cn(['mt-12 flex min-w-full flex-col items-center justify-center space-y-6 text-white'])}
></main>
>
<SvelteLogo style="font-size:2em" />
</main>
2 changes: 1 addition & 1 deletion app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"allowImportingTsExtensions": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ESNext", "DOM", "DOM.Iterable", "WebWorker"],
"types": ["typed-query-selector/strict"],
"types": ["typed-query-selector/strict", "unplugin-icons/types/svelte"],
"plugins": [
{
"name": "@0no-co/graphqlsp",
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
}
},
{
"include": ["./app/src/polyfill.ts"],
"include": ["./app/src/lib/polyfill.ts"],
"linter": {
"rules": {
"style": {
Expand Down

0 comments on commit f01c62c

Please sign in to comment.