2022-02-24 22:30:34 +00:00
|
|
|
import React, { StrictMode } from 'react'
|
|
|
|
import { render } from 'react-dom'
|
|
|
|
|
2022-05-29 18:20:35 +00:00
|
|
|
// FIXME!: fixme from; Unable to resolve path to module '@status-im/react'
|
2022-05-23 12:38:52 +00:00
|
|
|
import { Community } from '@status-im/react'
|
2022-05-29 18:20:35 +00:00
|
|
|
// TODO?: import/rename Chats, Messages, Messenger
|
|
|
|
// TODO?: import/rename CommunityAndMessenger, or Status even
|
2022-02-23 14:32:08 +00:00
|
|
|
|
|
|
|
const App = () => {
|
2022-05-23 12:38:52 +00:00
|
|
|
return <Community publicKey="<YOUR_COMMUNITY_KEY>" theme="light" />
|
2022-02-23 14:49:00 +00:00
|
|
|
}
|
2022-02-23 14:32:08 +00:00
|
|
|
|
|
|
|
render(
|
|
|
|
<StrictMode>
|
|
|
|
<App />
|
|
|
|
</StrictMode>,
|
|
|
|
document.getElementById('root')
|
2022-02-23 14:49:00 +00:00
|
|
|
)
|