feat: api key ui

This commit is contained in:
karishmas6
2024-10-01 23:37:21 +05:30
parent c348a98803
commit 1d625d307f

View File

@@ -22,6 +22,7 @@ const ProxyForm: React.FC = () => {
server: '',
username: '',
password: '',
apiKey: '',
});
const { notify } = useGlobalInfoStore();
@@ -73,6 +74,16 @@ const ProxyForm: React.FC = () => {
/>
</FormControl>
<FormControl>
<TextField
label="API Key (Optional)"
name="apiKey"
value={proxyConfig.apiKey}
onChange={handleChange}
fullWidth
/>
</FormControl>
<FormControl>
<TextField
label="Username (Optional)"