Skip to content

Commit

Permalink
spelling: timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Mar 8, 2022
1 parent 4e87f1a commit d7de406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website/pages/aktuellt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const timeout = (ms: number) =>
const runOrTimeout = (fun: VoidCallback, ms: number) =>
Promise.race([
fun(),
timeout(ms).then(() => Promise.reject(new Error('Timout'))),
timeout(ms).then(() => Promise.reject(new Error('Timeout'))),
])

export const getServerSideProps = async (): Promise<{
Expand Down

0 comments on commit d7de406

Please sign in to comment.