Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankoehn committed Dec 30, 2024
1 parent 761c8ee commit e4a2938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cms/cms-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Link from "next/link";
import { cn } from "@/lib/utils";
import type { ReactNode } from "react";

export type CMSLinkType = CMSLinkField & {
export type CMSLinkType = Omit<CMSLinkField, "label"> & {
appearance?: ButtonProps["variant"] | "none";
size?: ButtonProps["size"];
label?: string | null;
Expand Down

0 comments on commit e4a2938

Please sign in to comment.