Replies: 1 comment
-
|
may be add this line: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I spun up a quick react 18 application using this tutorial: https://reactjs.org/docs/create-a-new-react-app.html#create-react-app
Then I did install
npm install ketcher-reactand got the following errors:I easily solved this by running this command:
npm install ketcher-react --legacy-peer-depsThen I proceeded to try to inject ketcher from this discussion: #578
And here is my code that I have in my react app:

It's very minimal, but when I build and run the application, I get this:

I can't seem to make the editor smaller - even after I wrapped it with a parent node with a fixed size. Can someone help with this? Does this mean I'm missing some sort of styling?
Beta Was this translation helpful? Give feedback.
All reactions