@@ -195,7 +195,7 @@ const ChatInput = forwardRef<HTMLTextAreaElement, ChatInputProps>(
195195 flexWrap = "wrap"
196196 gap = { tokens . filesContainer . gap }
197197 maxHeight = { tokens . filesContainer . maxHeight }
198- overflowY = { tokens . filesContainer . overflowY as any }
198+ overflowY = { tokens . filesContainer . overflowY }
199199 >
200200 { visibleFiles . map ( ( file ) => (
201201 < Tag
@@ -293,12 +293,12 @@ const ChatInput = forwardRef<HTMLTextAreaElement, ChatInputProps>(
293293 border : tokens . textarea . border ,
294294 borderRadius : tokens . textarea . borderRadius ,
295295 outline : 'none' ,
296- resize : tokens . textarea . resize as any ,
296+ resize : tokens . textarea . resize ,
297297 fontFamily : tokens . textarea . fontFamily ,
298298 width : '100%' ,
299299 minHeight : tokens . textarea . minHeight ,
300300 maxHeight : tokens . textarea . maxHeight ,
301- overflowY : tokens . textarea . overflowY as any ,
301+ overflowY : tokens . textarea . overflowY ,
302302 cursor : disabled ? 'not-allowed' : 'text' ,
303303 } }
304304 onFocus = { ( e ) => {
@@ -368,12 +368,12 @@ const ChatInput = forwardRef<HTMLTextAreaElement, ChatInputProps>(
368368 border : tokens . textarea . border ,
369369 borderRadius : tokens . textarea . borderRadius ,
370370 outline : 'none' ,
371- resize : tokens . textarea . resize as any ,
371+ resize : tokens . textarea . resize ,
372372 fontFamily : tokens . textarea . fontFamily ,
373373 width : '100%' ,
374374 minHeight : tokens . textarea . minHeight ,
375375 maxHeight : tokens . textarea . maxHeight ,
376- overflowY : tokens . textarea . overflowY as any ,
376+ overflowY : tokens . textarea . overflowY ,
377377 cursor : disabled ? 'not-allowed' : 'text' ,
378378 } }
379379 onFocus = { ( e ) => {
@@ -445,17 +445,15 @@ const ChatInput = forwardRef<HTMLTextAreaElement, ChatInputProps>(
445445 fontSize = { tokens . topQueries . header . fontSize }
446446 fontWeight = { tokens . topQueries . header . fontWeight }
447447 textTransform = {
448- tokens . topQueries . header
449- . textTransform as any
448+ tokens . topQueries . header . textTransform
450449 }
451450 >
452451 Top Queries
453452 </ Text >
454453 </ Block >
455454 < Block
456455 overflowY = {
457- tokens . topQueries . scrollContainer
458- . overflowY as any
456+ tokens . topQueries . scrollContainer . overflowY
459457 }
460458 maxHeight = {
461459 topQueriesMaxHeight
0 commit comments