From ed966cea1e1b47ace2fef06bfe094d385f5ac620 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 23 May 2022 16:03:51 +0100 Subject: [PATCH] remove hack doesn't work --- app/src/frontend/building/data-container.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/src/frontend/building/data-container.tsx b/app/src/frontend/building/data-container.tsx index 611d2d82..2df3c222 100644 --- a/app/src/frontend/building/data-container.tsx +++ b/app/src/frontend/building/data-container.tsx @@ -1,6 +1,4 @@ import React, { Fragment } from 'react'; -import ReactDOM from 'react-dom'; -import { MemoryRouter } from 'react-router-dom'; import { NavLink, Redirect } from 'react-router-dom'; import Confetti from 'canvas-confetti'; import _ from 'lodash'; @@ -18,8 +16,6 @@ import { CategoryViewProps, CopyProps } from './data-containers/category-view-pr import { CopyControl } from './header-buttons/copy-control'; import { ViewEditControl } from './header-buttons/view-edit-control'; -import { App } from '../app'; - import './data-container.css'; interface DataContainerProps { @@ -251,15 +247,6 @@ const withCopyEdit: (wc: React.ComponentType) => DataContaine this.setState({error: err}); } - // Hack to get tiles to refresh - const div = document.createElement('div'); - ReactDOM.render( - - - , - div - ); - console.log(slug + " verify button clicked") }