Skip to content

Commit b07cdfe

Browse files
authored
fix: contact list not updating after second publiccode.yml import (#402)
1 parent 5367dea commit b07cdfe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/components/Editor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export default function Editor() {
130130
resetYaml,
131131
isPublicCodeImported,
132132
setIsPublicCodeImported,
133+
yaml,
133134
} = useYamlStore();
134135
const { languages, setLanguages, resetLanguages } = useLanguagesStore();
135136

@@ -573,7 +574,7 @@ export default function Editor() {
573574
)}
574575
{isContactsVisible() && (
575576
<span>
576-
<EditorContacts />
577+
<EditorContacts key={yaml} />
577578
</span>
578579
)}
579580
</div>

0 commit comments

Comments
 (0)