Skip to content

Commit

Permalink
fix(SteamSpinner): dont error on latest desktop beta
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Apr 4, 2023
1 parent 8752f57 commit 19819b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deck-components/SteamSpinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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('PreloadThrobber'))
return m[prop];
}
}) as FC<SVGAttributes<SVGElement>>;

0 comments on commit 19819b7

Please sign in to comment.