Skip to content

Commit

Permalink
Remove unused ts-expect-error comment
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Mar 22, 2023
1 parent 61e398a commit 80acee2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/addons/docs/src/DocsRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export class DocsRenderer<TRenderer extends Renderer> {
.then(({ MDXProvider }) =>
// We use a `key={}` here to reset the `hasError` state each time we render ErrorBoundary
renderElement(
// @ts-expect-error TODO: remove this, we shouldn't have to ignore it
<ErrorBoundary showException={reject} key={Math.random()}>
<MDXProvider components={components}>
<Docs context={context} docsParameter={docsParameter} />
Expand Down

0 comments on commit 80acee2

Please sign in to comment.