We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3b626 commit 3c95578Copy full SHA for 3c95578
frontend/app/src/entities/events/ui/branch-event.tsx
@@ -1,7 +1,7 @@
1
import { EventNodeInterface } from "@/shared/api/graphql/generated/graphql";
2
-import { ReactElement } from "react";
+import { ReactNode } from "react";
3
4
-export const BRANCH_EVENTS_MAPPING: Record<string, (param: string) => ReactElement> = {
+export const BRANCH_EVENTS_MAPPING: Record<string, (param: string) => ReactNode> = {
5
"infrahub.branch.created": (branch) => (
6
<div>
7
Branch <span className="text-black font-semibold">{branch}</span> created
0 commit comments