From d09ce2246a7fdbd12d54973f4a73b4e3efcc388d Mon Sep 17 00:00:00 2001 From: Carlos Palhares Date: Tue, 4 Jun 2024 12:06:01 -0300 Subject: [PATCH] Run prettier --- .../src/AudienceForm/AllToggle.tsx | 18 +++-- .../src/AudienceForm/CriteriaDescription.tsx | 6 +- .../src/AudienceForm/CriteriaForm.tsx | 7 +- .../src/AudienceForm/CriteriaList.tsx | 30 +++++---- audiences-react/src/AudienceForm/Header.tsx | 2 +- audiences-react/src/AudienceForm/index.tsx | 11 +++- .../src/AudienceForm/useCriteriaEditForm.ts | 65 ++++++++++++------- audiences-react/src/audiences.ts | 19 ------ 8 files changed, 86 insertions(+), 72 deletions(-) diff --git a/audiences-react/src/AudienceForm/AllToggle.tsx b/audiences-react/src/AudienceForm/AllToggle.tsx index 468a3912..466bf0cb 100644 --- a/audiences-react/src/AudienceForm/AllToggle.tsx +++ b/audiences-react/src/AudienceForm/AllToggle.tsx @@ -4,9 +4,9 @@ import { Button, Card, Flex } from "playbook-ui" import { Header } from "./Header" type MainProps = { - total: number, - name: string, - children: React.ReactNode, + total: number + name: string + children: React.ReactNode } export function AllToggle({ total, name, children }: MainProps) { @@ -25,17 +25,23 @@ export function AllToggle({ total, name, children }: MainProps) {