Prevent unnecessary updates in handleUserChange when the selected item remains unchanged
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
export let tabid = null;
|
||||
|
||||
function handleUserChange(value) {
|
||||
if (value === selectedItem) return;
|
||||
if (!tabid) return;
|
||||
|
||||
openedTabs.update(tabs =>
|
||||
|
||||
Reference in New Issue
Block a user