Skip to content

Commit

Permalink
fix lintings
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Sep 28, 2024
1 parent 233eaf6 commit 0e4c4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/twopoint5d-r3f/src/components/GetStage2D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function GetStage2D({name, children, fallback}: GetStage2DProps) {
const stageNames = Array.isArray(name) ? name : [name];
const stages = stageNames.map((stageName) => useStage2D(stageName));

return stages.every((stage) => stage != null) ? children(...(stages as Stage2D[])) : fallback ?? null;
return stages.every((stage) => stage != null) ? children(...(stages as Stage2D[])) : (fallback ?? null);
}

GetStage2D.displayName = 'GetStage2D';

0 comments on commit 0e4c4ec

Please sign in to comment.