Skip to content

Commit

Permalink
Fix building an onchain app not rendering (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
briandoyle81CB authored Apr 30, 2024
1 parent c86a302 commit c5ac759
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,15 @@ export function Providers(props: { children: ReactNode }) {

Open `layout.tsx`. Import your `Providers`, being careful if you use auto-import as there are many other things with similar names in the list. Wrap the `children` in your `return` with the new `Providers`.

:::typescript
```typescript
return (

<html lang="en">
<body className={inter.className}>
<Providers>{children}</Providers>
</body>
</html>
);
:::
```

## Adding the Connect Button

Expand Down

0 comments on commit c5ac759

Please sign in to comment.