Fix store import

This commit is contained in:
WardPearce
2024-10-01 14:06:12 +13:00
parent a31297a134
commit 68d7ac97b5
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import type { DataConnection } from 'peerjs';
import { persisted } from 'svelte-persisted-store';
import { writable, type Writable } from 'svelte/store';
import type { TitleCase } from './misc';
import type { PoTokens } from './patches/poTokenAndroid';
import type { PoTokens } from './patches/youtubejs';
function platformDependentDefault(givenValue: any, defaultValue: any): any {
if (typeof givenValue !== 'undefined' && typeof givenValue !== null) {
@@ -21,6 +21,7 @@
letterCase,
numberWithCommas,
proxyGoogleImage,
truncate,
unsafeRandomItem
} from '$lib/misc';
import type { PlayerEvents } from '$lib/player';
@@ -492,7 +493,7 @@
alt="Channel profile"
/>
<div>
<p style="margin: 0;" class="bold">{data.video.author}</p>
<p style="margin: 0;" class="bold">{truncate(data.video.author, 24)}</p>
<p style="margin: 0;">{data.video.subCountText}</p>
</div>
</nav>