Fix store import
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user