mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 06:29:37 +00:00
refactor(perf):go back to passing index and using it to mutate keypair
This commit is contained in:
@@ -68,9 +68,10 @@ const getSecretsForProject = async ({
|
||||
setFileState(tempFileState);
|
||||
|
||||
setData(
|
||||
tempFileState.map((line) => {
|
||||
tempFileState.map((line, index) => {
|
||||
return {
|
||||
id: guidGenerator(),
|
||||
pos: index,
|
||||
key: line["key"],
|
||||
value: line["value"],
|
||||
type: line["type"]
|
||||
|
||||
Reference in New Issue
Block a user