File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ export const AppHeader = () => {
77 < MainMenu cx = { css . header } >
88 < LinkButton
99 caption = '@qavajs/html-formatter'
10- link = { { pathname : '/' } }
10+ href = '#/'
1111 size = '48'
1212 cx = { css . title }
1313 captionCX = { css . caption }
1414 />
1515 < FlexSpacer />
1616 < LinkButton
1717 caption = 'Failed Scenarios'
18- link = { { pathname : ' /failed-scenarios' } }
18+ href = '# /failed-scenarios'
1919 size = '48'
2020 cx = { css . failedTitle }
2121 captionCX = { css . caption }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const featureColumns: DataColumnProps<Feature>[] = [
2525 {
2626 key : 'name' ,
2727 caption : 'Name' ,
28- render : item => < LinkButton caption = { item . name } link = { { pathname : ` /feature/${ item . id } ` } } size = '42' /> ,
28+ render : item => < LinkButton caption = { item . name } href = { `# /feature/${ item . id } `} size = '42' /> ,
2929 isSortable : true ,
3030 width : 400
3131 } ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
3- import { Router } from 'react-router-dom' ;
3+ import { HashRouter } from 'react-router-dom' ;
44import { createBrowserHistory } from 'history' ;
55import { ContextProvider } from '@epam/uui-core' ;
66import { Snackbar , Modals } from '@epam/uui-components' ;
@@ -10,7 +10,6 @@ import '@epam/promo/styles.css';
1010import { App } from './App' ;
1111import { svc } from './services' ;
1212
13-
1413const history = createBrowserHistory ( ) ;
1514
1615const UuiEnhancedApp = ( ) => (
@@ -29,9 +28,9 @@ const UuiEnhancedApp = () => (
2928) ;
3029
3130const RoutedApp = ( ) => (
32- < Router history = { history } >
31+ < HashRouter >
3332 < UuiEnhancedApp />
34- </ Router >
33+ </ HashRouter >
3534) ;
3635
37- ReactDOM . render ( < RoutedApp /> , document . getElementById ( 'root' ) ) ;
36+ ReactDOM . render ( < RoutedApp /> , document . getElementById ( 'root' ) ) ;
You can’t perform that action at this time.
0 commit comments