Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Dec 6, 2022
1 parent da6e68d commit 063e4b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/client/components/error-boundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function GlobalErrorComponent({ error }: { error: any }) {
browser console for more information).
</h2>
{error?.digest && (
<p style={styles.text}>{`Error digest: ${error.digest}`}</p>
<p style={styles.text}>{`Digest: ${error.digest}`}</p>
)}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/app-dir/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ describe('app dir', () => {
)
expect(
await browser.waitForElementByCss('body').elementByCss('p').text()
).toBe('Error digest: CUSTOM_DIGEST')
).toBe('Digest: CUSTOM_DIGEST')
}
})

Expand Down

0 comments on commit 063e4b5

Please sign in to comment.