Make a single re-usable banner component (#27412)

Release Notes:

- Fixed an issue where both the predict edit and git onboarding banners
would both show at the same time.
This commit is contained in:
Mikayla Maki 2025-03-25 00:05:25 -07:00 committed by GitHub
parent b85492bd00
commit 35ec4753b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 181 additions and 294 deletions

View file

@ -43,8 +43,6 @@ pub fn init(cx: &mut App) {
.edit_prediction_provider = Some(EditPredictionProvider::None)
},
);
crate::onboarding_banner::clear_dismissed(cx);
});
})
.detach();