mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #4515 from Infisical/fix-infisical-secret-input
fix(frontend): use unique formatter key in for secret references
This commit is contained in:
@@ -34,7 +34,9 @@ const syntaxHighlight = (content?: string | null, isVisible?: boolean, isImport?
|
||||
|
||||
// akhilmhdh: Dont remove this br. I am still clueless how this works but weirdly enough
|
||||
// when break is added a line break works properly
|
||||
return formattedContent.concat(<br key={`secret-value-${formattedContent.length + 1}`} />);
|
||||
return formattedContent.concat(
|
||||
<br key={`secret-value-linebreak-${formattedContent.length + 1}`} />
|
||||
);
|
||||
};
|
||||
|
||||
type Props = TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
||||
|
||||
Reference in New Issue
Block a user