Wizard: add satellite registration, add jwt-decode

The jwt decode dependency helps us to keep track of the token that is
present in the Satellite command. jwt-decode is the most popular
dependency for the job, and very easy to use.
This commit is contained in:
Anna Vítová 2025-03-05 09:55:17 +01:00 committed by Klara Simickova
parent 739c0538fe
commit a4034e8787
21 changed files with 20892 additions and 6818 deletions

View file

@ -104,7 +104,9 @@ export const ValidatedInputAndTextArea = ({
</HelperTextItem>
</HelperText>
)}
{hasError && <ErrorMessage errorMessage={errorMessage} />}
{validated === 'error' && hasError && (
<ErrorMessage errorMessage={errorMessage} />
)}
</>
);
};