Skip to content

Commit 97d3f4f

Browse files
committed
refactor: remove unnecessary ESLint disable comments in FeaturedSongs and DetectAdBlock components
1 parent dd9e241 commit 97d3f4f

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

apps/frontend/src/modules/browse/components/client/context/FeaturedSongs.context.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export function FeaturedSongsProvider({
4343
);
4444

4545
useEffect(() => {
46-
// eslint-disable-next-line react-hooks/exhaustive-deps
4746
setFeaturedSongsPage(featuredSongs[timespan]);
4847
}, [featuredSongs, timespan]);
4948

apps/frontend/src/modules/shared/components/client/ads/DetectAdBlock.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const DetectAdBlock = () => {
22
return (
33
<>
4-
{/* eslint-disable-next-line @next/next/no-sync-scripts */}
54
<script src='/adasync.js' />
65
<script
76
id='detect-ad-block'

0 commit comments

Comments
 (0)