Skip to content

Commit

Permalink
fix(market): add support for ROLLBACK in activity
Browse files Browse the repository at this point in the history
  • Loading branch information
ptisserand committed Dec 13, 2024
1 parent 3e6b8bb commit 1fbb9ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/arkmarket/src/constants/activity-type-metadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ export default {
OFFER: { icon: <ActivityOffer size={16} />, title: "Offer" },
SALE: { icon: <ShoppingCart size={16} />, title: "Sale" },
TRANSFER: { icon: <ArrowLeftRight size={16} />, title: "Transfer" },
ROLLBACK: { icon: <TimerReset size={16} />, title: "Rollback" },
} as ActivityTypeMetadata;
1 change: 1 addition & 0 deletions apps/arkmarket/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export const activityTypes = [
"OFFER",
"SALE",
"TRANSFER",
"ROLLBACK",
] as const;

export type ActivityType = (typeof activityTypes)[number];
Expand Down

0 comments on commit 1fbb9ce

Please sign in to comment.