Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt committed Apr 15, 2024
1 parent a05ec24 commit 270a817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Retrieve.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const Retrieve: React.FC<{
setAssets(assets);
};

const LoadedGame = () => {
const loadGame = () => {
if (Object.keys(assets).length === 0) return null;

for (const [key, value] of Object.entries(assets)) {
Expand Down Expand Up @@ -126,7 +126,7 @@ export const Retrieve: React.FC<{
</div>
) : Object.keys(assets).length > 0 ? (
<div className="game-layout">
<LoadedGame />
{loadGame()}
</div>
) : urlIdentifier ? (
<div className="layout">
Expand Down

0 comments on commit 270a817

Please sign in to comment.