Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Oct 19, 2023
1 parent 83f3967 commit f0cf0b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion apps/web/app/availability-1/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ export default async function AvailabilityLayout({ children }: AvailabilityLayou

return (
// @ts-expect-error withTrpc expects AppProps
<PageWrapper getLayout={getLayout} requiresLicense={false} nonce={nonce} themeBasis={null}>
<PageWrapper
getLayout={getLayout}
requiresLicense={false}
nonce={nonce}
themeBasis={null}
pageProps={{ trpcState: {} }}>
{children}
</PageWrapper>
);
Expand Down
4 changes: 1 addition & 3 deletions apps/web/app/availability-1/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import AvailabilityPage from "@pages/availability";

export default function Availability() {
return <AvailabilityPage />;
}
export default AvailabilityPage;

0 comments on commit f0cf0b9

Please sign in to comment.