Browse Source

style: remove unnecessary comment in components index and ErrorBoundary

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
pull/11756/head
afc163 3 weeks ago
parent
commit
5f962a5b2c
  1. 1
      src/components/ErrorBoundary/index.tsx
  2. 3
      src/components/index.ts

1
src/components/ErrorBoundary/index.tsx

@ -128,7 +128,6 @@ export default class ErrorBoundary extends React.Component<
console.error('[ErrorBoundary]', error, info.componentStack);
}
/** Retry loading the failed module without a full page reload. */
handleRetry = () => {
// Incrementing retryCount changes the key on the children fragment,
// forcing React to unmount and remount all lazy components.

3
src/components/index.ts

@ -14,9 +14,6 @@ import { AvatarDropdown } from './RightContent/AvatarDropdown';
*/
export { default as ArticleListContent } from './ArticleListContent';
export { default as AvatarList } from './AvatarList';
/**
*
*/
export { default as ErrorBoundary } from './ErrorBoundary';
export { default as OfflineBanner } from './OfflineBanner';
export { default as StandardFormRow } from './StandardFormRow';

Loading…
Cancel
Save