Refactor Data Access Utility (#112)

This commit is contained in:
Steve Faulkner
2020-07-24 16:45:48 -05:00
committed by GitHub
parent 6dcdacc8c4
commit 6d142f16f9
25 changed files with 825 additions and 1014 deletions

View File

@@ -1,5 +1,5 @@
import { MessageTypes } from "../Contracts/ExplorerContracts";
import { MessageHandler } from "../Common/MessageHandler";
import { sendMessage } from "../Common/MessageHandler";
import { TabRouteHandler } from "./TabRouteHandler";
export class RouteHandler {
@@ -27,7 +27,7 @@ export class RouteHandler {
}
public updateRouteHashLocation(hash: string): void {
MessageHandler.sendMessage({
sendMessage({
type: MessageTypes.UpdateLocationHash,
locationHash: hash
});