kgabryje commented on code in PR #38078:
URL: https://github.com/apache/superset/pull/38078#discussion_r2828793665


##########
superset-frontend/src/features/databases/DatabaseModal/index.tsx:
##########
@@ -644,6 +644,12 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> 
= ({
     sshTunnelPrivateKeyPasswordFields,
     setSSHTunnelPrivateKeyPasswordFields,
   ] = useState<string[]>([]);
+  const [encryptedExtraFields, setEncryptedExtraFields] = useState<
+    { fileName: string; fields: { path: string; label: string }[] }[]

Review Comment:
   It looks like this type is repeated in a few places, can we extract it to 
some shared interface?



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