Skip to content

Commit

Permalink
fix: make Google logo monochrome (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber authored Oct 10, 2023
1 parent 64f9e75 commit ce76299
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/account/components/AccountLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { useSearchParams } from 'react-router-dom';
import { fetchAuthURLs } from 'terraso-client-shared/account/accountSlice';
import { useFetchData } from 'terraso-client-shared/store/utils';
import AppleIcon from '@mui/icons-material/Apple';
import GoogleIcon from '@mui/icons-material/Google';
import { Box, Button, Stack, Typography } from '@mui/material';
import SvgIcon from '@mui/material/SvgIcon';

Expand All @@ -31,7 +32,6 @@ import PageLoader from 'layout/PageLoader';
import LocalePicker from 'localization/components/LocalePicker';
import { useAnalytics } from 'monitoring/analytics';

import { ReactComponent as GoogleSvg } from 'assets/google.svg';
import logo from 'assets/logo.svg';
import { ReactComponent as MicrosoftSvg } from 'assets/microsoft.svg';

Expand All @@ -40,10 +40,6 @@ const MicrosoftIcon = props => {
return <SvgIcon component={MicrosoftSvg} {...props} />;
};

const GoogleIcon = props => {
return <SvgIcon component={GoogleSvg} {...props} />;
};

const appendReferrer = (url, referrer) =>
referrer ? `${url}&state=${referrer}` : url;

Expand Down

0 comments on commit ce76299

Please sign in to comment.