Skip to content

Commit

Permalink
fix server-actions-relative-redirect types
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Apr 2, 2024
1 parent 86cbc1f commit cca3ae0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default function Page() {
<p>hello root page</p>
<button
onClick={async () => {
// @ts-expect-error Async Transitions
startTransition(async () => {
await relativeRedirect()
})
Expand All @@ -20,7 +19,6 @@ export default function Page() {
</button>
<button
onClick={async () => {
// @ts-expect-error Async Transitions
startTransition(async () => {
await absoluteRedirect()
})
Expand Down

0 comments on commit cca3ae0

Please sign in to comment.