Skip to content

Commit

Permalink
fix: avoid additional render (#2057)
Browse files Browse the repository at this point in the history
Co-authored-by: felixw <[email protected]>
  • Loading branch information
felix-ico and felixw authored Jul 19, 2023
1 parent b8aea4b commit 537f932
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ addons.register('@telekom/scale-sidebar-links-addon', (api) => {
if (!locale) {
return;
}

if (!sidebarLinksContainer) {
return
}
if (sidebarLinksContainer) {
sidebarLinksContainer.remove();
}
Expand Down

0 comments on commit 537f932

Please sign in to comment.