diff --git a/src/react-components/media-browser.js b/src/react-components/media-browser.js index 0e2f1094ee..b139ad8806 100644 --- a/src/react-components/media-browser.js +++ b/src/react-components/media-browser.js @@ -385,8 +385,7 @@ class MediaBrowserContainer extends Component { const hasNext = !!(meta && meta.next_cursor); const hasPrevious = !!searchParams.get("cursor"); - const customObjectType = - this.state.result && isSceneApiType ? "scene" : urlSource === "avatars" ? "avatar" : "object"; + const customObjectType = isSceneApiType ? "scene" : urlSource === "avatars" ? "avatar" : "object"; let searchDescription;