pass default context
This commit is contained in:
parent
e17b0fafe6
commit
eab409b182
|
@ -1,6 +1,6 @@
|
|||
import React, {useContext,useEffect } from 'react';
|
||||
import { Link } from "react-router-dom";
|
||||
import { UserContext } from "../context/UserContext";
|
||||
import UserContext from "../context/UserContext";
|
||||
import styled,{ css } from 'styled-components';
|
||||
|
||||
const Header = styled.header`
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import { createContext } from "react";
|
||||
|
||||
export default createContext(null);
|
||||
export default createContext();
|
Loading…
Reference in New Issue