Skip to content

Commit

Permalink
Fix report
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 18, 2024
1 parent b182299 commit 7e1eac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions apps/dashboard/jobs/tasks/reconnect/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ export const reconnectConnection = schemaTask({

const accountsResponse = await accounts.json();

logger.info(accountsResponse);

await Promise.all(
accountsResponse.data.map(async (account) => {
await supabase
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/animated-number.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export function AnimatedNumber({
maximumFractionDigits,
locale,
}: Props) {
const { locale: currentLocale } = useUserContext((state) => state.data);
const localeToUse = locale || currentLocale;
const user = useUserContext((state) => state.data);
const localeToUse = locale || user?.locale;

return (
<NumberFlow
Expand Down

0 comments on commit 7e1eac7

Please sign in to comment.