Skip to content

Commit

Permalink
OV-11: + header into app
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy4 committed Aug 19, 2024
1 parent 4bcf5ab commit af83d0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/app/app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import reactLogo from '~/assets/img/react.svg';
import { Link, RouterOutlet } from '~/bundles/common/components/components.js';
import {
Header,
Link,
RouterOutlet,
} from '~/bundles/common/components/components.js';
import { AppRoute } from '~/bundles/common/enums/enums.js';
import {
useAppDispatch,
Expand Down Expand Up @@ -27,6 +31,7 @@ const App: React.FC = () => {

return (
<>
<Header />
<img src={reactLogo} width="30" alt="logo" />

<ul>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/bundles/common/components/components.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { Button } from './button/button.js';
export { Header } from './header/header.js';
export { Input } from './input/input.js';
export { Link } from './link/link.js';
export { RouterProvider } from './router-provider/router-provider.js';
Expand Down

0 comments on commit af83d0e

Please sign in to comment.