mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-21 00:01:22 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -48,7 +48,7 @@ export function HeadersEditor({
|
||||
<div className="pb-2">
|
||||
{validInheritedHeaders?.map((pair, i) => (
|
||||
<PairEditorRow
|
||||
key={pair.id + '.' + i}
|
||||
key={`${pair.id}.${i}`}
|
||||
index={i}
|
||||
disabled
|
||||
disableDrag
|
||||
@@ -109,9 +109,8 @@ const valueType = (pair: Pair): InputProps['type'] => {
|
||||
name === 'set-cookie'
|
||||
) {
|
||||
return 'password';
|
||||
} else {
|
||||
return 'text';
|
||||
}
|
||||
return 'text';
|
||||
};
|
||||
|
||||
const valueAutocomplete = (headerName: string): GenericCompletionConfig | undefined => {
|
||||
|
||||
Reference in New Issue
Block a user