feat: ship creator journey v2 and profile updates
This commit is contained in:
18
resources/js/entry-similar-artworks-header.jsx
Normal file
18
resources/js/entry-similar-artworks-header.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import SimilarArtworksHeader from './Pages/Artwork/SimilarArtworksHeader'
|
||||
|
||||
const mountEl = document.getElementById('similar-artworks-header-root')
|
||||
|
||||
if (mountEl) {
|
||||
let props = {}
|
||||
|
||||
try {
|
||||
const propsEl = document.getElementById('similar-artworks-header-props')
|
||||
props = propsEl ? JSON.parse(propsEl.textContent || '{}') : {}
|
||||
} catch {
|
||||
props = {}
|
||||
}
|
||||
|
||||
createRoot(mountEl).render(<SimilarArtworksHeader {...props} />)
|
||||
}
|
||||
Reference in New Issue
Block a user