Skip to content

Commit

Permalink
Rename slippage to max slippage
Browse files Browse the repository at this point in the history
  • Loading branch information
sablevsky committed Dec 13, 2024
1 parent f48bd41 commit c14bac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const AppSettingsModal: FC<AppSettingsModalProps> = ({ onCancel }) => {
return (
<Modal open onCancel={onCancel} maskClosable={false} width={500}>
<h2 className={styles.title}>Settings</h2>
<TabsContent {...slippageTabsValues} title="Slippage" />
<TabsContent {...slippageTabsValues} title="Max slippage" />
<TabsContent {...priorityTabsValues} title="Priority mode" />

<Button className={styles.saveButton} onClick={onSaveChanges}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tokenLending/LeveragePage/LeveragePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const LeverageContent: FC<LeverageContentProps> = ({ pair, collateralToken }) =>
<div className={styles.controlBtns}>
<Button variant="tertiary" onClick={openAppSettingsModal} className={styles.slippageBtn}>
<Settings />
Slippage {slippage}%
Max slippage {slippage}%
</Button>

<Button variant="tertiary" onClick={() => setShowOrderBook((prev) => !prev)}>
Expand Down

0 comments on commit c14bac2

Please sign in to comment.