|
Last change
on this file since badbc79 was badbc79, checked in by Luka Cheshlarov <luka.cheshlarov@…>, 20 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
382 bytes
|
| Line | |
|---|
| 1 | import React from 'react';
|
|---|
| 2 | import Header from "../components/header";
|
|---|
| 3 | import ErrorBoundary from "./error-wrapper";
|
|---|
| 4 | import {ToastContainer} from "react-toastify";
|
|---|
| 5 |
|
|---|
| 6 | const StandardLayout = ({children}) => {
|
|---|
| 7 | return (
|
|---|
| 8 | <ErrorBoundary>
|
|---|
| 9 | <ToastContainer/>
|
|---|
| 10 | <Header/>
|
|---|
| 11 | {children}
|
|---|
| 12 | </ErrorBoundary>
|
|---|
| 13 | );
|
|---|
| 14 | };
|
|---|
| 15 |
|
|---|
| 16 | export default StandardLayout; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.