voyager icon indicating copy to clipboard operation
voyager copied to clipboard

<App /> component doesn't initialize using passed in props

Open light-and-salt opened this issue 7 years ago • 0 comments

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.

light-and-salt avatar Jan 05 '18 05:01 light-and-salt