Skip to content

Commit

Permalink
prettier:write
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloGracia committed Nov 7, 2024
1 parent f13107e commit c9f8e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/auth/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { authService } from '@/lib/service';

export default function AuthPage() {
const router = useRouter();

useEffect(() => {
async function fetchSession() {
const { data: session } = await authService.getSessionUser();
if (session.user) {
if (session.user) {
router.push('/');
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SolicitudCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function SolicitudCard({
</svg>
</div>
<div className="flex-auto">
<div className="text-lg font-medium">{caso?.name?.split(" ")[0] || 'Necesita Ayuda'}</div>
<div className="text-lg font-medium">{caso?.name?.split(' ')[0] || 'Necesita Ayuda'}</div>
<span className="text-gray-500">
{new Date(caso.created_at!).toLocaleDateString() +
' ' +
Expand Down

0 comments on commit c9f8e60

Please sign in to comment.