Copilot commented on code in PR #3132: URL: https://github.com/apache/apisix-dashboard/pull/3132#discussion_r2173194179
########## src/routes/consumers/detail.$username/credentials/detail.$id.tsx: ########## @@ -134,6 +134,7 @@ function RouteComponent() { {t('form.btn.edit')} </Button> <DeleteResourceBtn + mode="detail" Review Comment: [nitpick] Consider using a predefined enum or constant for the `mode` prop instead of a raw string literal to avoid typos and centralize available modes. -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org