Skip to content

Commit 5673441

Browse files
committed
feat: add rollback event
1 parent a28f5f1 commit 5673441

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

apps/arkmarket/src/constants/activity-type-metadata.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
ShoppingCart,
1111
TimerReset,
1212
} from "@ark-market/ui/icons";
13+
import { Undo2 } from "lucide-react";
1314

1415
import type { ActivityType } from "~/types";
1516

@@ -36,4 +37,5 @@ export default {
3637
OFFER: { icon: <ActivityOffer size={16} />, title: "Offer" },
3738
SALE: { icon: <ShoppingCart size={16} />, title: "Sale", duplicates: ["EXECUTED", "SALE"] },
3839
TRANSFER: { icon: <ArrowLeftRight size={16} />, title: "Transfer" },
40+
ROLLBACK: { icon: <Undo2 size={16} />, title: "Rollback" },
3941
} as ActivityTypeMetadata;

apps/arkmarket/src/types/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export const activityTypes = [
166166
"OFFER",
167167
"SALE",
168168
"TRANSFER",
169+
"ROLLBACK",
169170
] as const;
170171

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

0 commit comments

Comments
 (0)