feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -5,7 +5,11 @@ import SearchBar from './Search/SearchBar'
|
||||
function mount() {
|
||||
const container = document.getElementById('topbar-search-root')
|
||||
if (!container) return
|
||||
createRoot(container).render(<SearchBar />)
|
||||
|
||||
const initialIntent = window.__sbSearchIntent ?? null
|
||||
window.__sbSearchIntent = null
|
||||
|
||||
createRoot(container).render(<SearchBar initialIntent={initialIntent} />)
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
|
||||
Reference in New Issue
Block a user