Skip to content

Commit

Permalink
fix: incorrect newlining
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdwm committed Dec 30, 2024
1 parent 459a7af commit afa8166
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 22 deletions.
7 changes: 4 additions & 3 deletions apps/portal/src/components/recipes/DappStakingForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ export const DappStakingSideSheet = ({
<SideSheet
{...props}
title={
<>
<Zap /> Stake
</>
<div className="flex items-center gap-2">
<Zap />
Stake
</div>
}
subtitle="Astar DApp staking"
>
Expand Down
15 changes: 8 additions & 7 deletions apps/portal/src/components/recipes/PoolClaimPermissionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ export const PoolClaimPermissionForm = (props: PoolClaimPermissionFormProps) =>

return (
<div>
<div css={{ marginBottom: '1.6rem' }}>
<label>
<div className="flex items-center gap-2" css={{ marginBottom: '1.6rem' }}>
<label className="flex items-center gap-2">
<Switch
checked={props.permission !== undefined}
onChange={event => props.onChangePermission(event.target.checked ? 'compound' : undefined)}
/>{' '}
/>
{props.isTalismanPool ? 'Enable auto claiming' : 'Enable permissionless claiming'}
</label>{' '}
</label>
<Tooltip
content={
<>
Expand Down Expand Up @@ -154,9 +154,10 @@ type PoolClaimPermissionDialogProps = PropsWithChildren<{
export const PoolClaimPermissionDialog = (props: PoolClaimPermissionDialogProps) => (
<AlertDialog
title={
<>
<Calculate css={{ verticalAlign: 'bottom' }} /> Claim method
</>
<div className="flex items-center gap-2">
<Calculate />
Claim method
</div>
}
targetWidth="77rem"
{...props}
Expand Down
5 changes: 3 additions & 2 deletions apps/portal/src/components/recipes/StakeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ export const StakeDialog = Object.assign(
<SideSheet
{...props}
title={
<div>
<Zap /> Stake
<div className="flex items-center gap-2">
<Zap />
Stake
</div>
}
subtitle="Nomination pool staking"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ const LidoWidgetSideSheet = (props: LidoWidgetSideSheetProps) => {
{({ css }) => (
<SideSheet
title={
<>
<Zap /> Stake
</>
<div className="flex items-center gap-2">
<Zap />
Stake
</div>
}
onRequestDismiss={props.onRequestDismiss}
css={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ const AddStakeSideSheet = (props: AddStakeSideSheetProps) => {
return (
<SideSheet
title={
<div>
<Zap /> Stake
<div className="flex items-center gap-2">
<Zap />
Stake
</div>
}
subtitle="Liquid Staking"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ const AddStakeSideSheet = ({ slpxPair, onRequestDismiss }: Props) => {
return (
<SideSheet
title={
<div>
<Zap /> Stake
<div className="flex items-center gap-2">
<Zap />
Stake
</div>
}
subtitle="Liquid Staking"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,10 @@ export const SubtensorStakingSideSheet = ({
<SideSheet
{...props}
title={
<>
<Zap /> Stake
</>
<div className="flex items-center gap-2">
<Zap />
Stake
</div>
}
subtitle="Bittensor delegated staking"
>
Expand Down

0 comments on commit afa8166

Please sign in to comment.