Skip to content

Commit

Permalink
Indicate new props as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed Jan 29, 2025
1 parent 1ab8511 commit 4a030f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions fronts-client/src/components/clipboard/CardLevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ interface OuterProps {
isUneditable?: boolean;
dropMessage?: string;
cardTypeAllowList?: CardTypes[];
groupName: string;
numberOfCardsInGroup: number;
groupsIds: string[];
groupName?: string;
numberOfCardsInGroup?: number;
groupsIds?: string[];
}

interface InnerProps {
Expand Down
6 changes: 3 additions & 3 deletions fronts-client/src/lib/dnd/Level.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ export interface LevelProps<T> {
children: LevelChild<T>;
parentId: string;
parentType: string;
groupName: string;
numberOfCardsInGroup: number;
groupsIds: string[];
groupName?: string;
numberOfCardsInGroup?: number;
groupsIds?: string[];
type: string;
getDropType?: (item: T) => string;
dragImageOffsetX?: number;
Expand Down

0 comments on commit 4a030f0

Please sign in to comment.