message: Drop localStorage workaround because namespaces are now stored in user settings as well
diff: @@ -565,10 +565,14 @@ export const Dropdown = (props) => {
  const [favoriteKey, setFavoriteKey] = useUserSettingsCompatibility(
  favoriteUserSettingsKey,
  favoriteStorageKey,
  + undefined,
  + true,
  );
  const [bookmarks, setBookmarks] = useUserSettingsCompatibility(
  bookmarkUserSettingsKey,
  bookmarkStorageKey,
  + undefined,
  + true,
  );
  const onBookmark = React.useCallback(
  @@ -578,26 +582,13 @@ export const Dropdown = (props) => {
  [setBookmarks],
  );
  - // FIXME: Remove this after latest namespace wasn't fetched from localStorage anymore.
  - const onFavorite = React.useCallback(
  - (key) => {
  - setFavoriteKey(key);
  - if (key) {
  - localStorage.setItem(favoriteStorageKey, key);
  - } else {
  - localStorage.removeItem(favoriteStorageKey);
  - }
  - },
  - [setFavoriteKey, favoriteStorageKey],
  - );
  -
  return (
  <Dropdown_
  {...props}
  bookmarks={bookmarks}
  onBookmark={onBookmark}
  favoriteKey={favoriteKey}
  - onFavorite={onFavorite}
  + onFavorite={setFavoriteKey}
  />
  );
  };
  