Skip to content

Commit

Permalink
chore(react-coffee-warehouse): change routing
Browse files Browse the repository at this point in the history
  • Loading branch information
bptodorova authored Feb 21, 2024
2 parents c1bfad4 + f7423ca commit 07db39b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/react-coffee-warehouse/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ const App = () => {
<LocalizationProvider language={contextState.localeId}>
<IntlProvider locale={contextState.localeId}>
<AppContext.Provider value={{ ...contextState, onLanguageChange, onProfileChange }}>
<BrowserRouter>
<BrowserRouter basename="/kendo-react/react-coffee-warehouse">
<DrawerRouterContainer>
<Routes>
<Route path="/react-coffee-warehouse" element={<Dashboard />} />
<Route path="/" element={<Dashboard />} />
<Route path="/planning" element={<Planning />} />
<Route path="/profile" element={<Profile />} />
<Route path="/info" element={<Info />} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Header } from './Header.jsx';
import { gridIcon, calendarIcon, userIcon, infoCircleIcon} from '@progress/kendo-svg-icons'

const items = [
{ name: 'dashboard', svgIcon: gridIcon, route: '/react-coffee-warehouse', selected: true },
{ name: 'dashboard', svgIcon: gridIcon, route: '/', selected: true },
{ name: 'planning', svgIcon: calendarIcon, route: '/planning', selected: false },
{ name: 'profile', svgIcon: userIcon, route: '/profile', selected: false },
{ separator: true },
Expand Down

0 comments on commit 07db39b

Please sign in to comment.