Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennayz committed Feb 16, 2024
1 parent ca97a87 commit 05d3a68
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ export const XYKOverviewTransactionsListView: React.FC<
if (row.original.act !== "SWAP") {
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down Expand Up @@ -132,7 +136,11 @@ export const XYKOverviewTransactionsListView: React.FC<
: token_1;
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ export const XYKPoolTransactionsListView: React.FC<
if (row.original.act !== "SWAP") {
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down Expand Up @@ -133,7 +137,11 @@ export const XYKPoolTransactionsListView: React.FC<
: token_1;
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ export const XYKTokenTransactionsListView: React.FC<
if (row.original.act !== "SWAP") {
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down Expand Up @@ -133,7 +137,11 @@ export const XYKTokenTransactionsListView: React.FC<
: token_1;
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ export const XYKWalletTransactionsListView: React.FC<
if (row.original.act !== "SWAP") {
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down Expand Up @@ -149,7 +153,11 @@ export const XYKWalletTransactionsListView: React.FC<
: token_1;
return (
<div
className="cursor-pointer hover:opacity-75"
className={
on_transaction_click
? "cursor-pointer hover:opacity-75"
: ""
}
onClick={() => {
if (on_transaction_click) {
on_transaction_click(row.original);
Expand Down

0 comments on commit 05d3a68

Please sign in to comment.