Skip to content

Commit

Permalink
refactor: use MUI switch to match designs
Browse files Browse the repository at this point in the history
Signed-off-by: Will Lopez <[email protected]>
  • Loading branch information
willopez committed Mar 10, 2020
1 parent ccf6f9d commit a0efcca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
CircularProgress,
FormControlLabel,
Grid,
Checkbox
Switch
} from "@material-ui/core";
import useShopSettings from "../hooks/useShopSettings";

Expand Down Expand Up @@ -151,7 +151,7 @@ export default function ShopSettings() {
<Grid item xs={12}>
<FormControlLabel
control={
<Checkbox color="primary" />
<Switch color="primary" />
}
label={i18next.t("admin.settings.shop.allowGuestCheckout")}
{...getInputProps("allowGuestCheckout", muiCheckboxOptions)}
Expand Down

0 comments on commit a0efcca

Please sign in to comment.