Skip to content

Commit

Permalink
site: Define DownloadLinksProps
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Sep 24, 2023
1 parent d544e2f commit 3d8df05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/site/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ const CLIInstall = () => {
)
}

const DownloadLinks = ({ isDarkThemeSwitchChecked }) => {
type DownloadLinksProps = {
isDarkThemeSwitchChecked: boolean
}

const DownloadLinks = ({ isDarkThemeSwitchChecked }: DownloadLinksProps) => {
return (
<YStack ai="center" gap="$4">
<Paragraph fontWeight={'600'}>Get PikaTorrent now :</Paragraph>
Expand Down

0 comments on commit 3d8df05

Please sign in to comment.