Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
wooferzfg committed Jun 5, 2024
1 parent 54e65c2 commit 37906c0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/ui/launcher.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,6 @@ class Launcher extends React.PureComponent {
this.checkForUpdate();
}

componentDidMount() {
const { serviceWorker } = navigator;

if (serviceWorker) {
serviceWorker.addEventListener('controllerchange', Launcher.notifyAboutUpdate);
}
}

componentWillUnmount() {
const { serviceWorker } = navigator;

if (serviceWorker) {
serviceWorker.removeEventListener('controllerchange', Launcher.notifyAboutUpdate);
}
}

getOptionValue(optionName) {
const { options } = this.state;

Expand Down

0 comments on commit 37906c0

Please sign in to comment.