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