This commit is contained in:
Vitalii Kiiko
2024-08-20 12:57:23 +02:00
parent e0399608ee
commit 74d2da78d6
10 changed files with 519 additions and 299 deletions

View File

@@ -0,0 +1,34 @@
import React, { useState, useEffect, useRef } from 'react';
import { __ } from '@wordpress/i18n';
import { useParams } from 'react-router-dom';
import { Skeleton } from 'primereact/skeleton';
import getBandoLabel from '../../helpers/getBandoLabel';
// components
const BandoEditForms = () => {
const { id } = useParams();
//const [data, setData] = useState({});
//const [isLoading, setIsLoading] = useState(true);
useEffect(() => {
const parsed = parseInt(id)
const bandoId = !isNaN(parsed) ? parsed : 0;
// TODO
}, [id]);
return (
<div className="appPage">
<div className="appPage__pageHeader">
<h1>{__('Crea o modifica form per il Bando', 'gepafin')}</h1>
<p>
{__('Scegli come vuoi procedere:', 'gepafin')}
</p>
</div>
</div>
)
}
export default BandoEditForms;