Skip to content

Commit

Permalink
update remove functionality #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Nov 29, 2023
1 parent 66f2e36 commit 8af8181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/RemoveLiquidity/RemoveLiquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Flex, Form, FormGroup, Skeleton, useForm } from '@ergolabs/ui-kit';
import { t, Trans } from '@lingui/macro';
import { FC } from 'react';
import { useNavigate } from 'react-router-dom';
import { first, skip } from 'rxjs';
import { first } from 'rxjs';

import {
useObservable,
Expand Down Expand Up @@ -65,7 +65,7 @@ export const RemoveLiquidity: FC = () => {
const [formValue] = useObservable(form.valueChangesWithSilent$);

useSubscription(
form.controls.percent.valueChanges$.pipe(skip(1)),
form.controls.percent.valueChanges$,
(percent) => {
if (!position) {
return;
Expand Down

0 comments on commit 8af8181

Please sign in to comment.