Skip to content

Commit

Permalink
feat: add rollback event
Browse files Browse the repository at this point in the history
  • Loading branch information
MartianGreed committed Dec 13, 2024
1 parent a28f5f1 commit 5673441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/arkmarket/src/constants/activity-type-metadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
ShoppingCart,
TimerReset,
} from "@ark-market/ui/icons";
import { Undo2 } from "lucide-react";

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

Expand All @@ -36,4 +37,5 @@ export default {
OFFER: { icon: <ActivityOffer size={16} />, title: "Offer" },
SALE: { icon: <ShoppingCart size={16} />, title: "Sale", duplicates: ["EXECUTED", "SALE"] },
TRANSFER: { icon: <ArrowLeftRight size={16} />, title: "Transfer" },
ROLLBACK: { icon: <Undo2 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 @@ -166,6 +166,7 @@ export const activityTypes = [
"OFFER",
"SALE",
"TRANSFER",
"ROLLBACK",
] as const;

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

0 comments on commit 5673441

Please sign in to comment.