forked from git.gladyson/openmonetis
style: corrige formatação de indentação no layout
This commit is contained in:
@@ -20,7 +20,7 @@ export default async function DashboardLayout({
|
|||||||
|
|
||||||
// Encontrar o pagador admin do usuário
|
// Encontrar o pagador admin do usuário
|
||||||
const adminPagador = pagadoresList.find(
|
const adminPagador = pagadoresList.find(
|
||||||
(p) => p.role === PAGADOR_ROLE_ADMIN && p.userId === session.user.id
|
(p) => p.role === PAGADOR_ROLE_ADMIN && p.userId === session.user.id,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Buscar notificações para o período atual
|
// Buscar notificações para o período atual
|
||||||
@@ -33,11 +33,11 @@ export default async function DashboardLayout({
|
|||||||
? periodoParam[0]
|
? periodoParam[0]
|
||||||
: null;
|
: null;
|
||||||
const { period: currentPeriod } = parsePeriodParam(
|
const { period: currentPeriod } = parsePeriodParam(
|
||||||
singlePeriodoParam ?? null
|
singlePeriodoParam ?? null,
|
||||||
);
|
);
|
||||||
const notificationsSnapshot = await fetchDashboardNotifications(
|
const notificationsSnapshot = await fetchDashboardNotifications(
|
||||||
session.user.id,
|
session.user.id,
|
||||||
currentPeriod
|
currentPeriod,
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user