Skip to content

Commit

Permalink
Merge branch 'nwc-transaction-states' of https://github.com/getAlby/l…
Browse files Browse the repository at this point in the history
…ightning-browser-extension into nwc-transaction-states
  • Loading branch information
pavanjoshi914 committed Jan 2, 2025
2 parents af424e5 + a9a9e4c commit da7dde3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/TransactionsTable/TransactionModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function TransactionModal({
<div className="flex items-center justify-center">
{getTransactionType(transaction) == "outgoing" ? (
transaction.state === "pending" ? (
<div className="flex justify-center items-center bg-orange-100 dark:bg-orange-950 rounded-full p-3">
<div className="flex justify-center items-center bg-orange-100 dark:bg-orange-950 rounded-full p-3 animate-pulse">
<PopiconsArrowUpSolid className="w-10 h-10 rotate-45 text-orange-400 dark:text-amber-600 stroke-[1px] stroke-orange-400 dark:stroke-amber-600" />
</div>
) : transaction.state === "failed" ? (
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/TransactionsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function TransactionsTable({
<div className="flex items-center">
{type == "outgoing" ? (
tx.state === "pending" ? (
<div className="flex justify-center items-center bg-orange-100 dark:bg-orange-950 rounded-full w-8 h-8">
<div className="flex justify-center items-center bg-orange-100 dark:bg-orange-950 rounded-full w-8 h-8 animate-pulse">
<PopiconsArrowUpSolid className="w-5 h-5 rotate-45 text-orange-400 dark:text-amber-600 stroke-[1px] stroke-orange-400 dark:stroke-amber-600" />
</div>
) : tx.state === "failed" ? (
Expand Down

0 comments on commit da7dde3

Please sign in to comment.