Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Oct 15, 2024
1 parent e1497d1 commit 92502e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-email/src/actions/send-test-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export async function sendTestEmail({
return {
code: response.status,
ok: response.ok,
body: SendTestEmailResponse.parse(await response.json())
body: SendTestEmailResponse.parse(await response.json()),
};
}
3 changes: 2 additions & 1 deletion packages/react-email/src/components/send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { Text } from './text';

const useTimer = (startingSeconds: number) => {
const [isRatelimiting, setIsRatelimiting] = React.useState(false);
const [secondsRemaining, setSecondsRemaining] = React.useState(startingSeconds);
const [secondsRemaining, setSecondsRemaining] =
React.useState(startingSeconds);

const interval = React.useRef<NodeJS.Timer | undefined>(undefined);

Expand Down

0 comments on commit 92502e0

Please sign in to comment.