diff --git a/src/App.tsx b/src/App.tsx index 53c0aee..f7d204f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -74,7 +74,7 @@ function App() { let desiredLength = 0 if (width > 1280) { desiredLength = 18 - } else if (width > 640) { + } else if (width > 400) { desiredLength = 16 } else { desiredLength = 15 } //ensure movies.length is a multiple of 6 (so it makes an orphanless grid) @@ -94,10 +94,10 @@ function App() {
-
- +
+ { link: string; } function ProviderIcons({ providerList, link }: ProviderIconsProps) { + if (!providerList) { return "" } const list = providerList.map((e: any, i: number) => { return