Skip to content

Commit d54d673

Browse files
authored
fix: update cli ethers and subgraph templates (#835)
fix: fix cli ethers and subgraph templates
1 parent b5f8ee7 commit d54d673

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

packages/cli-template-monorepo-ethers/apps/web-app/src/app/groups/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default function GroupsPage() {
124124
<div>
125125
{_users.map((user, i) => (
126126
<div key={i}>
127-
<p className="box box-text">{user}</p>
127+
<p className="box box-text">{user.toString()}</p>
128128
</div>
129129
))}
130130
</div>

packages/cli-template-monorepo-ethers/apps/web-app/src/components/PageContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function PageContainer({
2121
useEffect(() => {
2222
semaphore.refreshUsers()
2323
semaphore.refreshFeedback()
24-
}, [semaphore])
24+
}, [])
2525

2626
function getExplorerLink(network: SupportedNetwork, address: string) {
2727
switch (network) {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

packages/cli-template-monorepo-subgraph/apps/web-app/src/app/groups/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default function GroupsPage() {
124124
<div>
125125
{_users.map((user, i) => (
126126
<div key={i}>
127-
<p className="box box-text">{user}</p>
127+
<p className="box box-text">{user.toString()}</p>
128128
</div>
129129
))}
130130
</div>

packages/cli-template-monorepo-subgraph/apps/web-app/src/components/PageContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function PageContainer({
2121
useEffect(() => {
2222
semaphore.refreshUsers()
2323
semaphore.refreshFeedback()
24-
}, [semaphore])
24+
}, [])
2525

2626
function getExplorerLink(network: SupportedNetwork, address: string) {
2727
switch (network) {

0 commit comments

Comments
 (0)