Skip to content

Commit

Permalink
lint: remove empty type
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorazhelyazkova committed Jun 19, 2024
1 parent 8c203ea commit 458e6cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import { useCallback, useState } from 'react'

import { Grid, StepLabel } from '@mui/material'

import {
Step as StepType,
CampaignApplicationFormData,
Steps,
} from './helpers/campaignApplication.types'
import { Step as StepType, Steps } from './helpers/campaignApplication.types'

import GenericForm from 'components/common/form/GenericForm'
import CampaignApplicationStepperIcon from './CampaignApplicationStepperIcon'
Expand All @@ -23,7 +19,7 @@ import {
StyledStepConnector,
} from './helpers/campaignApplication.styled'

const initialValues: CampaignApplicationFormData = {}
const initialValues: Record<string, string> = {}

const steps: StepType[] = [
{
Expand Down Expand Up @@ -52,7 +48,7 @@ export default function CampaignApplicationForm() {
}, [])

return (
<GenericForm<CampaignApplicationFormData> onSubmit={handleSubmit} initialValues={initialValues}>
<GenericForm<Record<string, string>> onSubmit={handleSubmit} initialValues={initialValues}>
<StyledCampaignApplicationStepper activeStep={activeStep} connector={<StyledStepConnector />}>
{steps.map((step) => (
<StyledCampaignApplicationStep key={step.title}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ export enum Steps {
CAMPAIGN = 1,
CAMPAIGN_DETAILS = 2,
}

export type CampaignApplicationFormData = {}

0 comments on commit 458e6cf

Please sign in to comment.