removing input from user signOff

This commit is contained in:
Belén Curcio
2018-08-22 09:48:06 -03:00
parent e9db68269b
commit 7b5a87207b
6 changed files with 6 additions and 21 deletions
@@ -5,9 +5,3 @@
.forgotPassword {
text-align: right;
}
.footer,
.subFooter {
padding-top: var(--spacing-unit);
width: 100%;
}
+2 -6
View File
@@ -105,7 +105,7 @@ const SignIn: StatelessComponent<SignInForm> = props => {
)}
</Field>
<div className={styles.footer}>
<div>
<Button
variant="filled"
color="primary"
@@ -115,11 +115,7 @@ const SignIn: StatelessComponent<SignInForm> = props => {
>
Sign in and join the conversation
</Button>
<Flex
itemGutter="half"
justifyContent="center"
className={styles.subFooter}
>
<Flex itemGutter="half" justifyContent="center">
<Typography>Don't have an account?</Typography>
<Button
variant="underlined"
@@ -2,13 +2,11 @@ import { commitLocalUpdate, Environment } from "relay-runtime";
import { TalkContext } from "talk-framework/lib/bootstrap";
import { createMutationContainer } from "talk-framework/lib/relay";
import { LOCAL_ID } from "talk-framework/lib/relay/withLocalStateContainer";
import { SignOffInput } from "talk-framework/rest";
export type SignOffMutation = (input: SignOffInput) => Promise<void>;
export type SignOffMutation = () => Promise<void>;
export async function commit(
environment: Environment,
input: SignOffInput,
{ localStorage }: TalkContext
) {
return commitLocalUpdate(environment, store => {