diff --git a/.gitignore b/.gitignore index e69de29..8b13789 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ + diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 23fd35f..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "editor.formatOnSave": true -} \ No newline at end of file diff --git a/phone/.vscode/settings.json b/phone/.vscode/settings.json deleted file mode 100644 index 23fd35f..0000000 --- a/phone/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "editor.formatOnSave": true -} \ No newline at end of file diff --git a/phone/src/apps/twitter/components/TwitterApp.js b/phone/src/apps/twitter/components/TwitterApp.js index d4b5fdb..e36853b 100644 --- a/phone/src/apps/twitter/components/TwitterApp.js +++ b/phone/src/apps/twitter/components/TwitterApp.js @@ -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: , - 1: , - 2: , -}; const TWEETS_REFRESH_RATE = 15000; // TODO move this to twitter config export const TwitterApp = () => { diff --git a/phone/src/apps/twitter/components/__tests__/TwitterApp.test.js b/phone/src/apps/twitter/components/__tests__/TwitterApp.test.js deleted file mode 100644 index 311fac6..0000000 --- a/phone/src/apps/twitter/components/__tests__/TwitterApp.test.js +++ /dev/null @@ -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(, div); -}); diff --git a/phone/src/apps/twitter/components/buttons/ControlButtons.js b/phone/src/apps/twitter/components/buttons/ControlButtons.js index dc5ed31..d419e81 100644 --- a/phone/src/apps/twitter/components/buttons/ControlButtons.js +++ b/phone/src/apps/twitter/components/buttons/ControlButtons.js @@ -35,8 +35,6 @@ export const ControlButtons = ({ : t("APPS_TWITTER_TWEET"); const showCloseButton = showImagePrompt || showEmoji; - if (createTweetLoading) return

!!!

; - return (