mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 02:51:46 +00:00
chore: ajustes de formatação e configuração
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -125,7 +125,9 @@ export function LoginForm({ className, ...props }: DivProps) {
|
||||
});
|
||||
|
||||
if (passkeyError) {
|
||||
setError((passkeyError.message as string) || "Erro ao entrar com passkey.");
|
||||
setError(
|
||||
(passkeyError.message as string) || "Erro ao entrar com passkey.",
|
||||
);
|
||||
setLoadingPasskey(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ const baseSchema = z.object({
|
||||
.string()
|
||||
.trim()
|
||||
.email("Informe um e-mail válido.")
|
||||
.optional()
|
||||
.nullish()
|
||||
.transform((value) => normalizeOptionalString(value)),
|
||||
status: statusEnum,
|
||||
note: noteSchema,
|
||||
|
||||
@@ -27,7 +27,7 @@ export function BoletoFieldsSection({
|
||||
/>
|
||||
</div>
|
||||
{showPaymentDate ? (
|
||||
<div className="space-y-2 w-full md:w-1/2">
|
||||
<div className="space-y-1 w-full md:w-1/2">
|
||||
<Label htmlFor="boletoPaymentDate">Pagamento do boleto</Label>
|
||||
<DatePicker
|
||||
id="boletoPaymentDate"
|
||||
|
||||
@@ -220,6 +220,7 @@ const buildColumns = ({
|
||||
<span className="text-primary">{dueDateLabel}</span>
|
||||
) : null}
|
||||
</span>
|
||||
<span className="flex items-center gap-1">
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<span className="line-clamp-2 max-w-[180px] font-bold truncate">
|
||||
@@ -230,7 +231,6 @@ const buildColumns = ({
|
||||
{name}
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
</span>
|
||||
|
||||
{isDivided && (
|
||||
<Tooltip>
|
||||
@@ -241,7 +241,9 @@ const buildColumns = ({
|
||||
className="text-muted-foreground"
|
||||
aria-hidden
|
||||
/>
|
||||
<span className="sr-only">Dividido entre pagadores</span>
|
||||
<span className="sr-only">
|
||||
Dividido entre pagadores
|
||||
</span>
|
||||
</span>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="top">
|
||||
@@ -286,7 +288,9 @@ const buildColumns = ({
|
||||
<span className="sr-only">Parcela antecipada</span>
|
||||
</span>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="top">Parcela antecipada</TooltipContent>
|
||||
<TooltipContent side="top">
|
||||
Parcela antecipada
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
)}
|
||||
|
||||
@@ -326,6 +330,8 @@ const buildColumns = ({
|
||||
</Tooltip>
|
||||
) : null}
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
);
|
||||
},
|
||||
},
|
||||
|
||||
@@ -77,7 +77,5 @@ function LogoContent() {
|
||||
const { state } = useSidebar();
|
||||
const isCollapsed = state === "collapsed";
|
||||
|
||||
return (
|
||||
<Logo variant={isCollapsed ? "small" : "full"} />
|
||||
);
|
||||
return <Logo variant={isCollapsed ? "small" : "full"} />;
|
||||
}
|
||||
|
||||
@@ -3,11 +3,7 @@
|
||||
"ignoreDeprecations": "6.0",
|
||||
"baseUrl": ".",
|
||||
"target": "ES2017",
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
@@ -25,10 +21,7 @@
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*",
|
||||
"./*"
|
||||
]
|
||||
"@/*": ["./src/*", "./*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
@@ -42,7 +35,5 @@
|
||||
".next/types/**/*.ts",
|
||||
".next/dev/types/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user