fix(SteamSpinner): oh apparently the class was moved outside the component for some reason??????

This commit is contained in:
AAGaming
2023-04-03 23:15:30 -04:00
parent 62f4b354a8
commit b8ddf3d927

View File

@@ -5,7 +5,9 @@ import { findModuleChild } from '../webpack';
export const SteamSpinner = findModuleChild((m) => {
if (typeof m !== 'object') return undefined;
for (let prop in m) {
if (m[prop]?.toString()?.includes('Steam Spinner') && m[prop]?.toString()?.includes('PreloadThrobber'))
if (
m[prop]?.toString?.()?.includes('Steam Spinner') && m[prop]?.toString?.()?.includes('src')
)
return m[prop];
}
}) as FC<SVGAttributes<SVGElement>>;