Remove some redundant typing

This commit is contained in:
Snarling
2022-09-20 07:23:35 -04:00
parent db835862d7
commit 6e3a6be106
14 changed files with 26 additions and 244 deletions
+1 -4
View File
@@ -2,10 +2,7 @@ import React, { useContext } from "react";
import { Corporation } from "../Corporation";
import { Industry } from "../Industry";
export const Context: {
Corporation: React.Context<Corporation>;
Division: React.Context<Industry>;
} = {
export const Context = {
Corporation: React.createContext<Corporation>({} as Corporation),
Division: React.createContext<Industry>({} as Industry),
};