From 39215dc4dea9e94593db35b1f6091b1be5c9e40d Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Fri, 18 Jun 2021 13:55:54 -0500 Subject: [PATCH] Remove unused GitHubReposComponentAdapter (#902) --- .../GitHub/GitHubReposComponentAdapter.tsx | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/Explorer/Controls/GitHub/GitHubReposComponentAdapter.tsx diff --git a/src/Explorer/Controls/GitHub/GitHubReposComponentAdapter.tsx b/src/Explorer/Controls/GitHub/GitHubReposComponentAdapter.tsx deleted file mode 100644 index aa8cabde5..000000000 --- a/src/Explorer/Controls/GitHub/GitHubReposComponentAdapter.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import ko from "knockout"; -import * as React from "react"; -import { ReactAdapter } from "../../../Bindings/ReactBindingHandler"; -import { GitHubReposComponent, GitHubReposComponentProps } from "./GitHubReposComponent"; - -export class GitHubReposComponentAdapter implements ReactAdapter { - public parameters: ko.Observable; - - constructor(private props: GitHubReposComponentProps) { - this.parameters = ko.observable(Date.now()); - } - - public renderComponent(): JSX.Element { - return ; - } - - public triggerRender(): void { - window.requestAnimationFrame(() => this.parameters(Date.now())); - } -}