This repository has been archived on 2020-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
|
import React, { useContext } from 'react';
|
|
import Context from './Context';
|
|
import Home from './Home';
|
|
|
|
function App() {
|
|
const { page } = useContext(Context)
|
|
return (
|
|
<>
|
|
<h1>Title: {page.title}</h1>
|
|
<Home />
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default App;
|