diff --git a/package.json b/package.json index 5fde38e..319d030 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": ".webpack/main", "homepage": "https://algojobs.ca", "scripts": { - "start": "APP_DEV=true electron-forge start", + "start": "electron-forge start", "package": "electron-forge package", "make": "DEBUG=electron-osx-sign* electron-forge make --arch=x64 --platform", "publish": "electron-forge publish --arch=x64 --platform", diff --git a/src/app/dashboard/applications.view.tsx b/src/app/dashboard/applications.view.tsx index 8d28286..6dd9a7a 100644 --- a/src/app/dashboard/applications.view.tsx +++ b/src/app/dashboard/applications.view.tsx @@ -57,7 +57,7 @@ interface ApplicationsViewProps { export const ApplicationsViews = (props: ApplicationsViewProps) => { const { state, useQuestions, skipped = false } = props; const [selectedApp, setSelectedApp] = React.useState(null); - const { completedApps, skippedApps } = state; + const { completedApps = [], skippedApps = [] } = state; const apps = skipped ? skippedApps : completedApps; diff --git a/src/config/browser.ts b/src/config/browser.ts index 4e383c8..14eec7e 100644 --- a/src/config/browser.ts +++ b/src/config/browser.ts @@ -14,7 +14,7 @@ export function getDefaultBrowserPath() { return `/Applications/Google Chrome.app/Contents/MacOS/Google Chrome`; } case "win32": { - return `%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe`; + return `\/Program Files\/Google\/Chrome\/Application\/chrome.exe`; } case "linux": { return `/usr/bin/google-chrome`;