Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ global_job_config:
commands:
- checkout

# restore cache for nvm, yarn and node_modeles
# restore cache for nvm, yarn and node_modules
- cache restore
- nvm use
blocks:
Expand Down
1 change: 1 addition & 0 deletions components/pages/signIn/components/SignInForm/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import styled from 'styled-components';

export const FormContentWrapper = styled.div`
width: 40rem;
max-width: 100%;
`;

export const FieldWrapper = styled.div`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import SignUpForm from './SignUpForm';

jest.mock('lib/apollo/hooks/actions/useSignUp');

describe('SignInForm', () => {
describe('SignUpForm', () => {
let signUp;
let signUpState;

Expand Down Expand Up @@ -80,6 +80,6 @@ describe('SignInForm', () => {
fireEvent.click(screen.getByTestId('submit-button'));

// Assert
expect(screen.getByTestId('signin-loader')).toBeInTheDocument();
expect(screen.getByTestId('signup-loader')).toBeInTheDocument();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const SignUpForm = () => {
component={SignUpFormContent}
validationSchema={SignUpValidationSchema}
/>
{signUpResult.loading && <Loader testId="signin-loader">Loading...</Loader>}
{signUpResult.loading && <Loader testId="signup-loader">Loading...</Loader>}
</>
);
};
Expand Down
2 changes: 1 addition & 1 deletion components/shared/templates/DefaultTemplate/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const Wrapper = styled.div`
align-items: center;
`;

export const PageContent = styled.div(
export const PageContent = styled.main(
({ theme: { down, breakpoints } }) =>
css`
padding: 2rem 1rem;
Expand Down