mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 14:59:16 +01:00
13 lines
336 B
JavaScript
Vendored
13 lines
336 B
JavaScript
Vendored
// TODO: Replace with React.createContext once we can assume React 16+
|
|
import createContext from "mini-create-react-context";
|
|
|
|
const createNamedContext = name => {
|
|
const context = createContext();
|
|
context.displayName = name;
|
|
|
|
return context;
|
|
};
|
|
|
|
const context = /*#__PURE__*/ createNamedContext("Router");
|
|
export default context;
|