Skip to content

Commit 4b222c3

Browse files
committed
refactor: add back spotify
1 parent a74ad03 commit 4b222c3

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

knip.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ const config: KnipConfig = {
77
// Required by react-email
88
'@react-email/preview-server',
99
],
10-
ignore: [
11-
'src/components/ui/*.{ts,tsx}',
12-
// Remove spotify now playing temporarily until we have a premium account to fetch the data
13-
'src/components/layout/now-playing.tsx',
14-
'src/hooks/queries/stats.query.ts',
15-
],
10+
ignore: ['src/components/ui/*.{ts,tsx}'],
1611
entry: ['content-collections.ts', 'src/db/reset.ts', 'src/db/seed.ts'],
1712
}
1813

src/components/layout/layout-footer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ import { FOOTER_GROUPS } from '@/constants/navigation'
77

88
import { GithubStarButton } from './github-star-button'
99
import { LocaleSwitcher } from './locale-switcher'
10+
import { NowPlaying } from './now-playing'
1011

1112
export function LayoutFooter() {
1213
const t = useTranslations()
1314

1415
return (
1516
<footer className='mx-auto mb-12 w-full max-w-5xl rounded-2xl bg-background/30 p-8 backdrop-blur-md'>
16-
{/* <NowPlaying className='mb-12' /> */}
17+
<NowPlaying className='mb-12' />
1718
<div className='mb-30 grid grid-cols-2 gap-10 sm:grid-cols-3'>
1819
{FOOTER_GROUPS.map((group) => (
1920
<div key={group.id} className='flex flex-col items-start gap-4'>

0 commit comments

Comments
 (0)