im getting error
Server Error
Error: (0 , lib_create_style_context__WEBPACK_IMPORTED_MODULE_2_.createStyleContext) is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
import { ark } from '@ark-ui/react/factory'
import type { ComponentProps } from 'react'
import { styled } from 'styled-system/jsx'
import { table } from 'styled-system/recipes'
import { createStyleContext } from 'src/lib/create-style-context'
const { withProvider, withContext } = createStyleContext(table)
const Table = withProvider(styled(ark.table), 'root')
const TableBody = withContext(styled(ark.tbody), 'body')
const TableCaption = withContext(styled(ark.caption), 'caption')
const TableCell = withContext(styled(ark.td), 'cell')
const TableFooter = withContext(styled(ark.tfoot), 'footer')
const TableHead = withContext(styled(ark.thead), 'head')
const TableHeader = withContext(styled(ark.th), 'header')
const TableRow = withContext(styled(ark.tr), 'row')
const Root = Table
const Body = TableBody
const Caption = TableCaption
const Cell = TableCell
const Footer = TableFooter
const Head = TableHead
const Header = TableHeader
const Row = TableRow