Skip to content

Commit

Permalink
fix: move constant value out of the component
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 committed Mar 12, 2024
1 parent bcab3d3 commit 963bd49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,12 @@ const ParticipantActions = React.memo(
},
);

const quickActionStyle = { p: '$1', borderRadius: '$round' };
const HandRaisedAccordionParticipantActions = ({ peerId, role }: { peerId: string; role: string }) => {
const { handleStageAction, lowerPeerHand, shouldShowStageRoleChange, isInStage } = usePeerOnStageActions({
peerId,
role,
});
const quickActionStyle = { p: '$1', borderRadius: '$round' };
return (
<>
<Button variant="standard" css={quickActionStyle} onClick={lowerPeerHand}>
Expand Down

0 comments on commit 963bd49

Please sign in to comment.