diff options
Diffstat (limited to 'ui-react/src/index.js')
-rw-r--r-- | ui-react/src/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/index.js b/ui-react/src/index.js index cbbdc65ef..dd83096ea 100644 --- a/ui-react/src/index.js +++ b/ui-react/src/index.js @@ -23,13 +23,13 @@ import React from 'react'; import ReactDOM from 'react-dom'; import OnapClamp from './OnapClamp'; -import { Route, BrowserRouter } from 'react-router-dom' +import { Route, MemoryRouter } from 'react-router-dom' const routing = ( - <BrowserRouter forceRefresh={false}> + <MemoryRouter forceRefresh={false}> <Route path="/" component={OnapClamp}/> - </BrowserRouter> + </MemoryRouter> ); export var mainClamp = ReactDOM.render( |