Skip to content

Commit

Permalink
fix: missing files state for application details
Browse files Browse the repository at this point in the history
  • Loading branch information
gparlakov committed Sep 3, 2024
1 parent 78622f1 commit f68fd7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/admin/campaign-applications/EditPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ import AdminContainer from 'components/common/navigation/AdminContainer'
import AdminLayout from 'components/common/navigation/AdminLayout'
import CampaignApplicationAdminPropsEdit from './CampaignApplicationAdminPropsEdit'
import { CampaignApplicationAdminEdit } from './campaignApplicationAdmin.types'
import { useState } from 'react'

export default function EditPage() {
const [files, setFiles] = useState<File[]>([])

const initialValues = {
organizer: {
name: 'Some organizer',
Expand All @@ -30,7 +33,7 @@ export default function EditPage() {
<div>.</div>
<CampaignApplication />
<div>.</div>
<CampaignApplicationDetails />
<CampaignApplicationDetails files={files} setFiles={setFiles} />
<div>.</div>
<CampaignApplicationAdminPropsEdit />
</GenericForm>
Expand Down

0 comments on commit f68fd7f

Please sign in to comment.