Skip to content

Commit

Permalink
chore: remove unused types and empty files
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 29, 2024
1 parent e5862a0 commit d4deb4d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Empty file removed src/rewards/AddRewardPanels.ts
Empty file.
Empty file removed src/rewards/CardButtons.ts
Empty file.
Empty file removed src/rewards/CardMenus.ts
Empty file.
Empty file removed src/rewards/CardWarnings.ts
Empty file.
Empty file removed src/rewards/RoleCards.ts
Empty file.
10 changes: 5 additions & 5 deletions src/rewards/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ export type RewardComponentsData = {

export type CardSetting = () => JSX.Element
export type RewardPreview = ComponentType<PropsWithChildren>
export type AddRewardPanel = ComponentType<AddRewardPanelProps>
export type RoleCard = ComponentType<RewardProps>
// export type AddRewardPanel = ComponentType<AddRewardPanelProps>
// export type RoleCard = ComponentType<RewardProps>
// TODO: refactor so that props are properly typed out
export type CardMenu = (props: any) => JSX.Element
export type CardWarning = (props: any) => JSX.Element
export type CardButton = (props: any) => JSX.Element
// export type CardMenu = (props: any) => JSX.Element
// export type CardWarning = (props: any) => JSX.Element
// export type CardButton = (props: any) => JSX.Element

export type RewardComponentMap<T> = Readonly<Partial<Record<PlatformName, T>>>

Expand Down

0 comments on commit d4deb4d

Please sign in to comment.