File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ KeyCap.displayName = "KeyCap";
8383
8484const AIWelcomeMessage = memo ( ( ) => {
8585 const modKey = isMacOS ( ) ? "⌘" : "Alt" ;
86+ const fullConfig = jotai . useAtomValue ( atoms . fullConfigAtom ) ;
87+ const hasCustomModes = fullConfig ?. waveai ? Object . keys ( fullConfig . waveai ) . some ( key => ! key . startsWith ( "waveai@" ) ) : false ;
8688 return (
8789 < div className = "text-secondary py-8" >
8890 < div className = "text-center" >
@@ -155,7 +157,7 @@ const AIWelcomeMessage = memo(() => {
155157 </ div >
156158 </ div >
157159 </ div >
158- < BYOKAnnouncement />
160+ { ! hasCustomModes && < BYOKAnnouncement /> }
159161 < div className = "mt-4 text-center text-[12px] text-muted" >
160162 BETA: Free to use. Daily limits keep our costs in check.
161163 </ div >
You can’t perform that action at this time.
0 commit comments