mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
another comment
This commit is contained in:
parent
5bbae7e9cc
commit
365daa9c6d
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,9 @@ interface AnnouncementProps {
|
|||
hideAnnouncement: () => void
|
||||
}
|
||||
|
||||
/*
|
||||
You must update the latestAnnouncementId in ClineProvider for new announcements to show to users. This new id will be compared with whats in state for the 'last announcement shown', and if it's different then the announcement will render. As soon as an announcement is shown, the id will be updated in state. This ensures that announcements are not shown more than once, even if the user doesn't close it themselves.
|
||||
*/
|
||||
const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
|
||||
const { t } = useTranslation("translation", { keyPrefix: "announcement" })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue