Skip to content

Commit

Permalink
Merge pull request #882 from spectrum-finance/dev-1296-bugmobile-supp…
Browse files Browse the repository at this point in the history
…ort-for-lq-page

Dev 1296 bug: mobile support for lq page
  • Loading branch information
yasha-black authored Aug 2, 2023
2 parents 4fc1167 + 27deb8d commit 83f9749
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrumlabs/interface",
"version": "5.0.7",
"version": "5.0.9",
"private": false,
"scripts": {
"start": "vite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ export const PoolsOrPositionsTableView: FC<
gap={1}
tableItemViewPadding={2}
tableHeaderPadding={[0, 4]}
onItemClick={(item) => {
if (item.id) {
navigate(item.id);
} else if (item.pool.id) {
navigate(item.pool.id);
} else if (item.pool.pool.id) {
navigate(item.pool.pool.id);
}
}}
>
<TableView.Column flex={1} width={'90%'} title={<Trans>Pair</Trans>}>
{(ammPool) => <PairColumn ammPool={poolMapper(ammPool)} />}
Expand Down

0 comments on commit 83f9749

Please sign in to comment.