Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix small bugs #259

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/preload/src/modules/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function getDefaultScenesPath() {

export async function getScenesPath() {
const config = await getConfig();
return config.settings.scenesPath ?? (await getDefaultScenesPath());
return config.settings?.scenesPath ?? (await getDefaultScenesPath());
}

export function isValidUpdateStrategy(value?: string): value is DEPENDENCY_UPDATE_STRATEGY {
Expand Down
8 changes: 4 additions & 4 deletions packages/renderer/src/components/LearnPage/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ export function LearnPage() {
<Video
list="PLAcRraQmr_GP_K8WN7csnKnImK4R2TgMA"
id="52LiG-4VI9c"
title="SDK7 Tutorials"
title="Editor (no code)"
/>
<Video
list="PLAcRraQmr_GN8LcnnQk2BByo9L2Orvp9c"
id="-iWslh4uQIk"
title="Emote Tutorials"
/>
<Video
list="PLAcRraQmr_GOJiVO5ZtZ86hef4unLsEkf"
id="PF7smSBxVOc"
title="Editor (No Code) Tutorials"
list="PLAcRraQmr_GP_K8WN7csnKnImK4R2TgMA"
id="J_EO1LZkaiA"
title="Combine drag & dop + Code"
/>
</div>
<Button
Expand Down
Loading