r-sugi / nextjs-tdd-template

https://nextjs-tdd-templatestorybook-rsugis-projects.vercel.app
0 stars 0 forks source link

dialogをportalで呼び出す #216

Closed r-sugi closed 2 months ago

r-sugi commented 2 months ago
hydration-error-info.js:63 Warning: validateDOMNesting(...): <dialog> cannot appear as a child of <tbody>.
    at dialog
    at createDialog (webpack-internal:///./src/components/dialog/Dialog.tsx:16:13)
    at dialog (webpack-internal:///./src/feature/admin/allMembers/index/dialog/BanDialog.tsx:19:11)
    at MemberTableRow (webpack-internal:///./src/feature/admin/allMembers/index/table/MemberTableRow.tsx:23:11)
    at tbody
    at table
    at MemberTable (webpack-internal:///./src/feature/admin/allMembers/index/table/table.tsx:10:11)
    at div
    at div
    at IndexTemplate (webpack-internal:///./src/feature/admin/allMembers/index/index.tsx:19:129)
    at Index
    at div
    at ErrorNotificationProvider (webpack-internal:///./src/feature/error/banner/ErrorNotificationContext.tsx:44:11)
    at AuthProvider (webpack-internal:///./src/feature/auth/provider/AuthProvider.tsx:43:11)
    at ApolloProvider (webpack-internal:///./node_modules/@apollo/client/react/context/ApolloProvider.js:14:21)
    at AppApolloProvider (webpack-internal:///./src/pages/_provider/_appApollo.provider.tsx:19:11)
    at ErrorBoundary (webpack-internal:///./src/pages/_error/_error.boundary.tsx:62:9)
    at AppProvider (webpack-internal:///./src/pages/_provider/_app.provider.tsx:15:11)
    at MyApp (webpack-internal:///./src/pages/_app.page.tsx:26:11)
    at PathnameContextProviderAdapter (webpack-internal:///./node_modules/next/dist/shared/lib/router/adapters.js:81:11)
    at ErrorBoundary (webpack-internal:///./node_modules/next/dist/client/components/react-dev-overlay/pages/ErrorBoundary.js:41:9)
    at ReactDevOverlay (webpack-internal:///./node_modules/next/dist/client/components/react-dev-overlay/pages/ReactDevOverlay.js:33:11)
    at Container (webpack-internal:///./node_modules/next/dist/client/index.js:81:1)
    at AppContainer (webpack-internal:///./node_modules/next/dist/client/index.js:189:11)
    at Root (webpack-internal:///./node_modules/next/dist/client/index.js:413:11)