Skip to content

Commit

Permalink
fix service worker registration regression from #164
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiaszCudnik committed Jan 29, 2019
1 parent 13b11f5 commit a3d2a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const root = (

ReactDOM.render(root, document.getElementById('root') as HTMLElement);

const isDesktop = typeof carlo !== undefined;
const isDesktop = typeof carlo !== 'undefined';
if (!isDesktop) {
serviceWorker.register(store);
} else {
Expand Down

0 comments on commit a3d2a67

Please sign in to comment.