diff options
author | 2021-12-13 00:22:11 +0100 | |
---|---|---|
committer | 2021-12-13 00:22:11 +0100 | |
commit | fbf80d803bb37f778677a5da4022c3ddbfabaaee (patch) | |
tree | 413584595ebe6f99eca768a7b4fd171fa5984cc9 /src | |
parent | #2319 Fix height of icons displayed on Welcome screen (diff) | |
download | ferdium-app-fbf80d803bb37f778677a5da4022c3ddbfabaaee.tar.gz ferdium-app-fbf80d803bb37f778677a5da4022c3ddbfabaaee.tar.zst ferdium-app-fbf80d803bb37f778677a5da4022c3ddbfabaaee.zip |
Remove irrelevant dev mode warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/components/auth/Login.js | 6 | ||||
-rw-r--r-- | src/components/auth/Signup.js | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index c1602a047..cce2b4fa7 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js | |||
@@ -135,12 +135,6 @@ class Login extends Component { | |||
135 | <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> | 135 | <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> |
136 | <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> | 136 | <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> |
137 | <h1>{intl.formatMessage(messages.headline)}</h1> | 137 | <h1>{intl.formatMessage(messages.headline)}</h1> |
138 | {isDevMode && !useLiveAPI && ( | ||
139 | <Infobox type="warning"> | ||
140 | In Dev Mode your data is not persistent. Please use the live app | ||
141 | for accessing the production API. | ||
142 | </Infobox> | ||
143 | )} | ||
144 | {isTokenExpired && ( | 138 | {isTokenExpired && ( |
145 | <p className="error-message center"> | 139 | <p className="error-message center"> |
146 | {intl.formatMessage(messages.tokenExpired)} | 140 | {intl.formatMessage(messages.tokenExpired)} |
diff --git a/src/components/auth/Signup.js b/src/components/auth/Signup.js index ac86dcdc3..5f879fb01 100644 --- a/src/components/auth/Signup.js +++ b/src/components/auth/Signup.js | |||
@@ -142,12 +142,6 @@ class Signup extends Component { | |||
142 | > | 142 | > |
143 | <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> | 143 | <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> |
144 | <h1>{intl.formatMessage(messages.headline)}</h1> | 144 | <h1>{intl.formatMessage(messages.headline)}</h1> |
145 | {isDevMode && !useLiveAPI && ( | ||
146 | <Infobox type="warning"> | ||
147 | In Dev Mode your data is not persistent. Please use the live app | ||
148 | for accesing the production API. | ||
149 | </Infobox> | ||
150 | )} | ||
151 | <div className="grid__row"> | 145 | <div className="grid__row"> |
152 | <Input field={form.$('firstname')} focus /> | 146 | <Input field={form.$('firstname')} focus /> |
153 | <Input field={form.$('lastname')} /> | 147 | <Input field={form.$('lastname')} /> |