-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I am getting following error and not sure how to fix
core is not a function
toHTML@http://localhost:3001/static/js/bundle.js:1070:52
Here is a bit from my package.json
"dependencies": {
"@bbob/core": "^3.0.2",
"@bbob/html": "^3.0.2",
"@bbob/preset-html5": "^3.0.2",
"react": "^18.2.0",
what I am importing
import bbobHTML from '@bbob/html'
import presetHTML5 from '@bbob/preset-html5'
How i am using it "roadEncounters.events" is a json array objects
<ul>
{roadEncounters.events.map(function (event) {
return (
<li key={event.roll}>
<h1>{event.name}</h1>
<p>{event.flavor}</p>
<hr />
<p>{bbobHTML(event.details, presetHTML5())}</p>
</li>
)
})}
</ul>
DStar2013
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working