juzhiyuan commented on a change in pull request #1725:
URL: https://github.com/apache/apisix-dashboard/pull/1725#discussion_r611269829



##########
File path: web/src/components/Plugin/UI/plugin.tsx
##########
@@ -38,6 +39,8 @@ export const PluginForm: React.FC<Props> = ({ name, 
renderForm, form }) => {
   switch (name) {
     case 'basic-auth':
       return <BasicAuth form={form} />
+    case 'proxy-mirror':
+      return <ProxyMirror form={form} />

Review comment:
       This Form receives Plug-in Name and returns the target Component, use 
Switch-Case is ok here.




-- 
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.

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


Reply via email to