Skip to content

Commit

Permalink
chore: fix some type names
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek committed Nov 19, 2024
1 parent 31e3cbd commit da9dc11
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const MilestoneCard = ({
showAddStrategyDialog,
errors,
clearErrors,
}: IMilestoneCard) => {
}: IMilestoneCardProps) => {
const [editMode, setEditMode] = useState(false);

return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { IReleasePlanMilestonePayload } from 'interfaces/releasePlans';
import { useState } from 'react';
import { MilestoneCard } from './MilestoneCard';
import { styled } from '@mui/material';
import { Button } from '@mui/material';
Expand All @@ -26,11 +25,8 @@ export const MilestoneList = ({
setAddStrategyOpen,
errors,
clearErrors,
}: IMilestoneList) => {
const [currentMilestone, setCurrentMilestone] = useState(-1);

}: IMilestoneListProps) => {
const showAddStrategyDialog = (index: number) => {
setCurrentMilestone(index);
setAddStrategyOpen(true);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ const StyledButtonContainer = styled('div')(() => ({
justifyContent: 'flex-end',
}));

interface IReleasePlanTemplateAddStrategyFormProps {
onCancel: () => void;
}

export const ReleasePlanTemplateAddStrategyForm = ({
onCancel,
}: { onCancel: () => void }) => {
}: IReleasePlanTemplateAddStrategyFormProps) => {
return (
<FormTemplate
modal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ interface ITemplateFormProps {
children?: React.ReactNode;
}

export const TemplateForm: React.FC<ITemplateForm> = ({
export const TemplateForm: React.FC<ITemplateFormProps> = ({
name,
setName,
description,
Expand Down

0 comments on commit da9dc11

Please sign in to comment.