Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Irev-Dev committed Aug 28, 2024
1 parent 2f50804 commit a268e77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/routeLoaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ export const fileLoader: LoaderFunction = async (
let code = ''

if (!urlObj.pathname.endsWith('/settings')) {
const fallbackFile = isDesktop() ? (await getProjectInfo(projectPath)).default_file : ''
const fallbackFile = isDesktop()
? (await getProjectInfo(projectPath)).default_file
: ''
let fileExists = isDesktop()
if (currentFilePath && fileExists) {
try {
Expand Down

0 comments on commit a268e77

Please sign in to comment.