diff --git a/src/deck-components/Spinner.tsx b/src/deck-components/Spinner.tsx index e70b5c6..7fa76a0 100755 --- a/src/deck-components/Spinner.tsx +++ b/src/deck-components/Spinner.tsx @@ -1,8 +1,8 @@ -import { FC } from 'react'; +import { FC, SVGAttributes } from 'react'; import { IconsModule } from '../webpack'; // TODO type this and other icons? export const Spinner = Object.values(IconsModule).find((mod: any) => mod?.toString && /Spinner\)}\),.\.createElement\(\"path\",{d:\"M18 /.test(mod.toString()) -) as FC<{}>; \ No newline at end of file +) as FC>; \ No newline at end of file diff --git a/src/deck-components/SteamSpinner.tsx b/src/deck-components/SteamSpinner.tsx index 925de7f..b758ed2 100755 --- a/src/deck-components/SteamSpinner.tsx +++ b/src/deck-components/SteamSpinner.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react'; +import { FC, SVGAttributes } from 'react'; import { findModuleChild } from '../webpack'; export const SteamSpinner = findModuleChild((m) => { @@ -6,4 +6,4 @@ export const SteamSpinner = findModuleChild((m) => { for (let prop in m) { if (m[prop]?.toString()?.includes("Steam Spinner") && m[prop].toString().includes("PreloadThrobber")) return m[prop] } -}) as FC<{}>; \ No newline at end of file +}) as FC>; \ No newline at end of file