Skip to content

Commit

Permalink
Remove unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-rushton committed May 27, 2024
1 parent f1a2d81 commit fbe1dc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/dim-ui/Sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ export default function Sheet({
};
}, []);

const childrenNode = _.isFunction(children) ? children({ onClose: triggerClose }) : children;

const sheetBody = (
<motion.div
// motion props
Expand Down Expand Up @@ -303,7 +301,9 @@ export default function Sheet({
style={frozenHeight ? { flexBasis: frozenHeight } : undefined}
ref={sheetContents}
>
<div ref={childrenContainer}>{childrenNode}</div>
<div ref={childrenContainer}>
{_.isFunction(children) ? children({ onClose: triggerClose }) : children}
</div>
</div>

{Boolean(footer) && (
Expand Down

0 comments on commit fbe1dc9

Please sign in to comment.