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