mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 23:53:05 +00:00
style(C93): formata (prettier)
This commit is contained in:
parent
b98366ea66
commit
f60a0bafee
2 changed files with 6 additions and 14 deletions
|
|
@ -24,11 +24,7 @@ type AgendaFeedChromeProps = {
|
|||
* exposes the sheet to the mobile FAB quick action and owns the single shared
|
||||
* dialog instance.
|
||||
*/
|
||||
export const AgendaFeedChrome = ({
|
||||
feeds,
|
||||
onCreateFeed,
|
||||
onRevokeFeed,
|
||||
}: AgendaFeedChromeProps) => {
|
||||
export const AgendaFeedChrome = ({ feeds, onCreateFeed, onRevokeFeed }: AgendaFeedChromeProps) => {
|
||||
const { setContext } = useCampaignQuickActionContext()
|
||||
const [open, setOpen] = useState(false)
|
||||
const openFeed = useCallback(() => setOpen(true), [])
|
||||
|
|
|
|||
|
|
@ -204,11 +204,7 @@ export const CalendarFeedDialog = ({
|
|||
Cancelar
|
||||
</Button>
|
||||
) : null}
|
||||
<Button
|
||||
type="button"
|
||||
onClick={handleCreate}
|
||||
disabled={!label.trim() || isCreating}
|
||||
>
|
||||
<Button type="button" onClick={handleCreate} disabled={!label.trim() || isCreating}>
|
||||
{isCreating ? 'Gerando...' : 'Gerar link'}
|
||||
</Button>
|
||||
</div>
|
||||
|
|
@ -224,8 +220,8 @@ export const CalendarFeedDialog = ({
|
|||
<DrawerHeader className="text-left">
|
||||
<DrawerTitle>Sincronizar com Google Calendar</DrawerTitle>
|
||||
<DrawerDescription>
|
||||
Gere um link de import para sincronizar a agenda com o Google Calendar.
|
||||
Alterações em Teqo serão refletidas automaticamente.
|
||||
Gere um link de import para sincronizar a agenda com o Google Calendar. Alterações em
|
||||
Teqo serão refletidas automaticamente.
|
||||
</DrawerDescription>
|
||||
</DrawerHeader>
|
||||
<div className="overflow-y-auto px-4 pb-2">{body}</div>
|
||||
|
|
@ -243,8 +239,8 @@ export const CalendarFeedDialog = ({
|
|||
<DialogHeader>
|
||||
<DialogTitle>Sincronizar com Google Calendar</DialogTitle>
|
||||
<DialogDescription>
|
||||
Gere um link de import para sincronizar a agenda com o Google Calendar.
|
||||
Alterações em Teqo serão refletidas automaticamente.
|
||||
Gere um link de import para sincronizar a agenda com o Google Calendar. Alterações em
|
||||
Teqo serão refletidas automaticamente.
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
{body}
|
||||
|
|
|
|||
Loading…
Reference in a new issue