voyager
voyager copied to clipboard
<App /> component doesn't initialize using passed in props
It seems the App
component (in src/components/app.tsx
) is supposed to be initialized with the passed in props. For example, in src/index.tsx
:
ReactDOM.render(
<Provider store={store}>
<App
config={config}
data={data}
dispatch={store.dispatch}
/>
</Provider>,
document.getElementById('root')
);
Currently, <App />
does not seem to be initialized by the passed in props. I tried passing in different config
, yet Voyager is still the same.
Being able to configure Voyager through props would be handy, as I'm using this component in my own web app.