Skip to content

Commit

Permalink
remove wake lock
Browse files Browse the repository at this point in the history
  • Loading branch information
mebtte committed Dec 19, 2023
1 parent 123fc0d commit 2f32120
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 42 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ plugins:
rules:
"no-void": off

"@typescript-eslint/no-confusing-void-expression": off
"@typescript-eslint/no-unsafe-argument": off
"@typescript-eslint/explicit-function-return-type": off
"@typescript-eslint/promise-function-async": off
Expand Down
2 changes: 0 additions & 2 deletions apps/pwa/src/pages/player/lyric_panel/lyric_panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Context from '../context';
import Backdrop from './backdrop';
import Controller from './controller';
import Lyric from './lyric';
import WakeLock from './wake_lock';

const Style = styled(animated.div)`
z-index: ${ZIndex.LYRIC_PANEL};
Expand All @@ -32,7 +31,6 @@ function LyricPanel({ style }: { style: unknown }) {
return (
// @ts-expect-error: style is known
<Style style={style}>
<WakeLock />
<Backdrop cover={queueMusic.cover} />
<Lyric queueMusic={queueMusic} />
<Controller
Expand Down
40 changes: 0 additions & 40 deletions apps/pwa/src/pages/player/lyric_panel/wake_lock.tsx

This file was deleted.

0 comments on commit 2f32120

Please sign in to comment.