bito-code-review[bot] commented on code in PR #37211:
URL: https://github.com/apache/superset/pull/37211#discussion_r2698932538


##########
superset-frontend/src/dashboard/components/SliceHeader/index.tsx:
##########
@@ -54,34 +51,33 @@ type SliceHeaderProps = SliceHeaderControlsProps & {
   formData: object;
   width: number;
   height: number;
-  queriedDttm?: string | null;
-  exportPivotExcel?: (arg0: string) => void;
 };
 
 const annotationsLoading = t('Annotation layers are still loading.');
-const annotationsError = t('One or more annotation layers failed loading.');
+const annotationsError = t('One ore more annotation layers failed loading.');

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Typo in error message</b></div>
   <div id="fix">
   
   The string 'One ore more annotation layers failed loading.' contains a typo; 
it should be 'One or more'. This affects user-facing error messages when 
annotation layers fail.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ````suggestion
     const annotationsError = t('One or more annotation layers failed 
loading.');
   ````
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #d18a72</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a 
href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to