You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: webview-ui/src/components/chat/Announcement.tsx
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,12 @@ import { useAppTranslation } from "@/i18n/TranslationContext"
4
4
import{Trans}from"react-i18next"
5
5
6
6
interfaceAnnouncementProps{
7
-
version: string
8
7
hideAnnouncement: ()=>void
9
8
}
10
9
/*
11
10
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.
0 commit comments