Skip to content

Commit

Permalink
fix: display current price without a connected wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
ogous committed Aug 26, 2024
1 parent 6450c1d commit adede19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/StakeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ export const StakeForm = ({ mode, poolId, positionId }: StakeFormProps) => {
const { data: curTickNum } = useSimulateContract({
address: ammAddress,
abi: seawaterContract.abi,
account: simulateAccount,
functionName: "curTick181C6FD9",
args: [token0.address],
});
Expand Down

0 comments on commit adede19

Please sign in to comment.