From cf5e365c7a286c5da259e62c46bb4b87a25e2fa6 Mon Sep 17 00:00:00 2001 From: Saumya Pandey Date: Tue, 22 Feb 2022 00:17:04 +0530 Subject: [PATCH] fix: indent the note --- app/components/Switch.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/components/Switch.tsx b/app/components/Switch.tsx index 7e45b268ad..410cd50ed3 100644 --- a/app/components/Switch.tsx +++ b/app/components/Switch.tsx @@ -2,6 +2,7 @@ import * as React from "react"; import styled from "styled-components"; import { LabelText } from "~/components/Input"; import Text from "~/components/Text"; +import Flex from "./Flex"; type Props = React.HTMLAttributes & { width?: number; @@ -49,9 +50,12 @@ function Switch({ {label} {note && ( - - {note} - + + + + {note} + + )} );