Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/Studio/index.js
Original file line number Diff line number Diff line change
@@ -12,18 +12,24 @@ import { useIntl } from 'react-intl';

import downloadFile from '../../utils/files';
import { getCSSValue } from '../../utils/helpers';
import useGlobals from '../../utils/Hooks/useGetGlobals';
import tree from './tree';

const Studio = () => {
const intl = useIntl();
const { lastObservationSnap } = useGlobals();
const [bsoLocalAffiliation, setBsoLocalAffiliation] = useState('130015506');
const [displayComment, setDisplayComment] = useState(true);
const [displayFooter, setDisplayFooter] = useState(true);
const [displayTitle, setDisplayTitle] = useState(false);
const [endYear, setEndYear] = useState(2022);
const [firstObservationYear, setFirstObservationYear] = useState(2018);
const [lang, setLang] = useState('fr');
const [lastObservationYear, setLastObservationYear] = useState(2023);
const [lastObservationYear, setLastObservationYear] = useState(
lastObservationSnap > process.env.REACT_APP_LAST_OBSERVATION
? process.env.REACT_APP_LAST_OBSERVATION
: lastObservationSnap,
);
const [object, setObject] = useState('publi');
const [startYear, setStartYear] = useState(2013);
const [tab, setTab] = useState('general');

0 comments on commit 473c718

Please sign in to comment.