Skip to content

Commit

Permalink
fixed ts issue after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin H committed Oct 30, 2023
1 parent f3e4739 commit b36855c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/pages/publications/[id]/versions/[versionId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ const Publication: Types.NextPage<Props> = (props): React.ReactElement => {
const handleOpenAffiliationsModal = React.useCallback(() => setIsEditingAffiliations(true), []);

const handleCloseAffiliationsModal = React.useCallback(
(revalidate?: boolean) => {
async (revalidate?: boolean) => {
if (revalidate) {
mutate();
await mutate();
}
setIsEditingAffiliations(false);
},
Expand Down

0 comments on commit b36855c

Please sign in to comment.