fix(org): build issues for nextjs
This commit is contained in:
parent
a6f32e155c
commit
d77cf38637
7 changed files with 46 additions and 9 deletions
|
@ -22,7 +22,14 @@ export const asText = (reactEl) => {
|
|||
}
|
||||
|
||||
// The actual example
|
||||
const Example = ({ patternProps, tutorial, paperless, settings, showInfo, xray = false }) => {
|
||||
export const Example = ({
|
||||
patternProps,
|
||||
tutorial,
|
||||
paperless,
|
||||
settings,
|
||||
showInfo,
|
||||
xray = false,
|
||||
}) => {
|
||||
const [ui, setUi] = useState({ renderer: 'react', xray: { enabled: xray } })
|
||||
|
||||
if (patternProps.logs.pattern.error.length > 0 || patternProps.logs.sets[0].error.length > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue