side by side txte exemple
This commit is contained in:
@@ -25,6 +25,7 @@ export default function Home() {
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
const [isLoadingFile, setIsLoadingFile] = useState(false);
|
||||
const [entityMappings, setEntityMappings] = useState<EntityMapping[]>([]);
|
||||
const [isExampleLoaded, setIsExampleLoaded] = useState(false); // NOUVEAU
|
||||
|
||||
const progressSteps = ["Téléversement", "Prévisualisation", "Anonymisation"];
|
||||
|
||||
@@ -43,6 +44,7 @@ export default function Home() {
|
||||
setError(null);
|
||||
setIsLoadingFile(false);
|
||||
setEntityMappings([]);
|
||||
setIsExampleLoaded(false); // NOUVEAU
|
||||
};
|
||||
|
||||
// Hooks personnalisés pour la logique métier
|
||||
@@ -105,6 +107,8 @@ export default function Home() {
|
||||
outputText={outputText}
|
||||
copyToClipboard={copyToClipboard}
|
||||
downloadText={downloadText}
|
||||
isExampleLoaded={isExampleLoaded} // NOUVEAU
|
||||
setIsExampleLoaded={setIsExampleLoaded} // NOUVEAU
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user