{
- const rorData = await getRorData(ror);
- setAddList([...addList, ...rorData]);
+ onClick={() => {
+ setAddList([...addList, ror]);
setRor('');
}}
>
@@ -481,13 +523,16 @@ export default function Affiliations() {
- Once you have made your changes (add or remove ROR id), you can apply the changes using the "Apply corrections" button,
- continue with your corrections and submit them to openAlex using the "Send feedback to OpenAlex" button.
+ Once you have made your changes (add or remove ROR id), you
+ can apply the changes using the "Apply corrections" button,
+ continue with your corrections and submit them to openAlex
+ using the "Send feedback to OpenAlex" button.
{
applyActions();
+ setSelectedOpenAlex([]);
setIsModalOpen((prev) => !prev);
}}
title="Close"
@@ -496,12 +541,23 @@ export default function Affiliations() {
-