diff --git a/src/components/Global/Modal/useModal.ts b/src/components/Global/Modal/useModal.ts index dfc1cdc434..78f3272f66 100644 --- a/src/components/Global/Modal/useModal.ts +++ b/src/components/Global/Modal/useModal.ts @@ -11,7 +11,7 @@ export const useModal = ( // TODO: 'closeModalEvent' is a magic value (must be defined in multiple files) // TODO: ... we should rework things such that it only needs to be defined once - // click handlers to to open and close the modal + // click handlers to open and close the modal const openModal = useCallback((): void => setIsModalOpen(true), []); const closeModal = useCallback((): void => { // close the modal diff --git a/src/components/Trade/TradeModules/TradeConfirmationSkeleton.tsx b/src/components/Trade/TradeModules/TradeConfirmationSkeleton.tsx index f187383d12..b378a68b23 100644 --- a/src/components/Trade/TradeModules/TradeConfirmationSkeleton.tsx +++ b/src/components/Trade/TradeModules/TradeConfirmationSkeleton.tsx @@ -195,7 +195,7 @@ export default function TradeConfirmationSkeleton(props: propsIF) { action={() => { // if this modal is launched we can infer user wants confirmation // if user enables bypass, update all settings in parallel - // otherwise do not not make any change to persisted preferences + // otherwise do not make any change to persisted preferences if (skipFutureConfirmation) { bypassConfirmSwap.enable(); bypassConfirmLimit.enable(); diff --git a/src/pages/platformAmbient/Trade/Reposition/Reposition.tsx b/src/pages/platformAmbient/Trade/Reposition/Reposition.tsx index 445a059988..96dc77e932 100644 --- a/src/pages/platformAmbient/Trade/Reposition/Reposition.tsx +++ b/src/pages/platformAmbient/Trade/Reposition/Reposition.tsx @@ -212,7 +212,7 @@ function Reposition() { }; // if chart is at ambient width, keep ambient width, otherwise use the default - // otherwise the the width rapidly switches back and forth between the two when returning to an in progress reposition + // otherwise the width rapidly switches back and forth between the two when returning to an in progress reposition const [rangeWidthPercentage, setRangeWidthPercentage] = useState( simpleRangeWidth === 100 || !position ? 100