Skip to content

Commit

Permalink
Fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleSamSwiss committed Jan 17, 2025
1 parent f2bd855 commit 6900516
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function VersionHistory() {
setOption(undefined);
});
}, [name]);
if (!option || showLoading) {
if (!option && !showLoading) {
return null;
}
return (
Expand Down

0 comments on commit 6900516

Please sign in to comment.