diff --git a/components/guides/ButtonGroupOSSelector.tsx b/components/guides/ButtonGroupOSSelector.tsx index 19684e88..e04687f3 100644 --- a/components/guides/ButtonGroupOSSelector.tsx +++ b/components/guides/ButtonGroupOSSelector.tsx @@ -6,12 +6,14 @@ import { useRouter } from 'next/router'; function ButtonGroupOSSelector() { const router = useRouter(); const osList = { - linux: 'Linux', - windows: 'Windows', - macOS: 'macOS', + linux: { label: 'Linux', logoURL: 'https://static.flexpool.io/assets/os/linux.png' }, + windows: { + label: 'Windows', + logoURL: 'https://static.flexpool.io/assets/os/windows.png', + }, }; const [selectedOS, setSelectedOS] = useState(''); - let search; + let search: string; useEffect(() => { if (typeof window !== 'undefined') { diff --git a/components/guides/flexfarmer/FlexfarmerDownloads.tsx b/components/guides/flexfarmer/FlexfarmerDownloads.tsx index 11d0ae21..7f52986d 100644 --- a/components/guides/flexfarmer/FlexfarmerDownloads.tsx +++ b/components/guides/flexfarmer/FlexfarmerDownloads.tsx @@ -41,7 +41,7 @@ function FlexfarmerDownloads() { return ( <> - {downloadData && ( + {downloadData && downloadData.map && (