Tweaked some display

This commit is contained in:
2021-07-29 00:37:23 +10:00
parent 462116d980
commit eb370663d2
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -9,7 +9,7 @@ const Reset = props => {
const authTokens = useContext(TokenContext); const authTokens = useContext(TokenContext);
//query //query
query = queryString.parse(props.location.search); const query = queryString.parse(props.location.search);
//misplaced? //misplaced?
if (authTokens.accessToken || !query.email || !query.token) { if (authTokens.accessToken || !query.email || !query.token) {
@@ -55,8 +55,6 @@ const Reset = props => {
<button type='submit'>Update Information</button> <button type='submit'>Update Information</button>
</form> </form>
<DeleteAccount className='constricted' />
</div> </div>
); );
}; };
+2
View File
@@ -9,6 +9,8 @@ const Visitor = () => {
<Link to='/signup'>Sign Up</Link> <Link to='/signup'>Sign Up</Link>
<span> - </span> <span> - </span>
<Link to='/login'>Log In</Link> <Link to='/login'>Log In</Link>
<span> - </span>
<Link to='/recover'>Recover</Link>
</div> </div>
); );
}; };