Skip to content

Commit

Permalink
fix: needs edge runtime for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Jul 1, 2024
1 parent 935481f commit da53925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/migration/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useEffect, useRef, useState } from 'react'
import { Dialog } from '@headlessui/react'
import { TrashIcon, ExclamationTriangleIcon } from '@heroicons/react/24/outline'
import { H1, H2 } from '@/components/Text'
import { UnknownLink, parse as parseLink } from 'multiformats/link'
import { useMigrations } from '@/components/MigrationsProvider'
import { DidIcon } from '@/components/DidIcon'
import { CheckCircleIcon, ClockIcon, FlagIcon } from '@heroicons/react/20/solid'
Expand Down
2 changes: 2 additions & 0 deletions src/app/migration/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { PropsWithChildren, ReactNode } from 'react'
import SidebarLayout from '@/components/SidebarLayout'

export const runtime = 'edge'

interface LayoutProps extends PropsWithChildren {
params: {
id: string
Expand Down

0 comments on commit da53925

Please sign in to comment.