codeant-ai-for-open-source[bot] commented on code in PR #43465:
URL: https://github.com/apache/superset/pull/43465#discussion_r3847849660
##########
superset-frontend/src/pages/ArchivedList/index.tsx:
##########
@@ -166,7 +169,7 @@ function ArchivedListBody({
refreshData,
} = useListViewResource<ArchivedItem>(
config.resource,
- TYPE_LABELS[type],
+ TYPE_LABELS[type](),
Review Comment:
✅ **Customized review instruction saved!**
**Instruction:**
> Treat useListViewResource's resourceLabel argument as singular; do not
flag singular labels as an API mismatch because the hook pluralizes the label
itself.
**Applied to:**
- `superset-frontend/src/pages/ArchivedList/index.tsx`
---
💡 *To manage or update this instruction, visit: [CodeAnt AI
Settings](https://app.codeant.ai/org/settings/learnings)*
--
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]