Skip to content

Commit 87071cb

Browse files
committed
🐛 Solve some detailed problems
1 parent 9e2759e commit 87071cb

File tree

6 files changed

+2482
-6
lines changed

6 files changed

+2482
-6
lines changed

client/src/components/Change.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
</script>
3535

3636
<div class={divClass}>
37-
<span class={color}>
37+
<strong class={color}>
3838
{#if value > 0}
3939
↑{value.toFixed(2)}{unit}
4040
{:else if value < 0}
4141
↓{Math.abs(value).toFixed(2)}{unit}
4242
{:else}
4343
±0%
4444
{/if}
45-
</span>
45+
</strong>
4646
{#if equalHeight}
47-
<span>{since}</span>
47+
<strong>{since}</strong>
4848
{:else}
49-
<span class={spanTextSize[size]}>{since}</span>
49+
<strong class={spanTextSize[size]}>{since}</strong>
5050
{/if}
5151
</div>

client/src/helper/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const initializeAuth = async () => {
1515
isPasswordAllowed.set(allowPassword || havePassword)
1616
} catch (error) {
1717
console.error('Failed to check password status:', error)
18-
isAuthenticated.set(false)
18+
isAuthenticated.set(true)
1919
} finally {
2020
isLoading.set(false)
2121
}

client/src/routes/Index.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
on:destroy={handleDestroy}
142142
on:reset={handleReset} />
143143
{#if !isShowChart}
144-
<CardPlaceholder size="lg" class="w-full max-w-full" />
144+
<CardPlaceholder size="2xl" class="w-full max-w-full" />
145145
{/if}
146146

147147
{#if isShowChart && convertedAssetsArr.length}

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"bcrypt": "^6.0.0",
2222
"dayjs": "^1.11.10",
2323
"fastify": "^4.13.0",
24+
"fastify-plugin": "^5.0.1",
2425
"fastify-xml-body-parser": "^2.2.0",
2526
"isomorphic-fetch": "^3.0.0",
2627
"openai": "^4.72.0",

0 commit comments

Comments
 (0)