V2Wizard: Update repo removal alert and modal

This updates alert and modal based on UX feedback.
This commit is contained in:
regexowl 2024-04-19 16:12:56 +02:00 committed by Lucas Garfield
parent 250f84ae9d
commit 13c21d0eff

View file

@ -412,8 +412,7 @@ const Repositories = () => {
]}
>
If you have added packages from this previously added repository,
removing it can lead to build failures. Are you sure you want to remove
the repository?
removing it can lead to build failures.
</Modal>
);
};
@ -427,7 +426,7 @@ const Repositories = () => {
{wizardMode === 'edit' && (
<Alert
title="Removing previously added repositories can lead to problems with selected packages"
variant="danger"
variant="warning"
isPlain
isInline
/>