mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
removing input from user signOff
This commit is contained in:
@@ -5,9 +5,3 @@
|
||||
.forgotPassword {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.footer,
|
||||
.subFooter {
|
||||
padding-top: var(--spacing-unit);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user