This commit is contained in:
erik-sn committed 2020-10-03 13:52:51 -04:00
1 parent e9e5836744
commit 345f591670
12 files changed
+12 -124

No files matched your search

@@ -32,12 +32,6 @@ const useStyles = makeStyles((theme) => ({
},
}));
// TODO move this to the router so the application back button works
const PAGE_COMPONENT_MAPPING = {
0: <TweetListContainer />,
1: <TwitterSearch />,
2: <TwitterProfile />,
};
const TWEETS_REFRESH_RATE = 15000; // TODO move this to twitter config
export const TwitterApp = () => {
@@ -1,8 +0,0 @@
import React from "react";
import ReactDOM from "react-dom";
import { TwitterApp } from "../TwitterApp";
it("renders without crashing", () => {
const div = document.createElement("div");
ReactDOM.render(<TwitterApp />, div);
});
@@ -35,8 +35,6 @@ export const ControlButtons = ({
: t("APPS_TWITTER_TWEET");
const showCloseButton = showImagePrompt || showEmoji;
if (createTweetLoading) return <h1>!!!</h1>;
return (
<div className={classes.buttons}>
<Button variant="contained" color="primary" onClick={onPrimaryClick}>