Blueprints: Import Blueprint modal error rendering

Fixed #2905

Fixes error rendering when invalid blueprint is uploaded.
This commit is contained in:
Katarina Sieklova 2025-02-19 13:11:33 +01:00 committed by Klara Simickova
parent c73e124d58
commit 285bee5f8d

View file

@ -66,8 +66,6 @@ export const ImportBlueprintModal: React.FunctionComponent<
) => {
setFileContent('');
setFilename(file.name);
setIsRejected(false);
setIsInvalidFormat(false);
};
async function handleRepositoryImport(