fix: move readOnly into inputProps on download token OutlinedInput
This commit is contained in:
@@ -307,7 +307,6 @@ export default function ConfigDetail() {
|
||||
<OutlinedInput
|
||||
label="Download Token"
|
||||
value={downloadToken}
|
||||
readOnly
|
||||
endAdornment={
|
||||
<InputAdornment position="end">
|
||||
<Tooltip title="Copy token">
|
||||
@@ -317,7 +316,7 @@ export default function ConfigDetail() {
|
||||
</Tooltip>
|
||||
</InputAdornment>
|
||||
}
|
||||
inputProps={{ style: { fontFamily: 'monospace', fontSize: 12 } }}
|
||||
inputProps={{ readOnly: true, style: { fontFamily: 'monospace', fontSize: 12 } }}
|
||||
/>
|
||||
</FormControl>
|
||||
<Tooltip title="Regenerate token">
|
||||
|
||||
Reference in New Issue
Block a user