- Create ConditionalLayout component to exclude sidebar from /docs routes - Replace direct MainLayout usage in root layout with route-based conditional rendering - Implement SwaggerUIWrapper component to suppress React strict mode warnings - Add comprehensive console warning filtering for UNSAFE lifecycle methods - Update webpack configuration to ignore third-party component warnings - Install string-replace-loader for enhanced warning suppression - Maintain full API documentation functionality while providing clean console output Fixes issue where docs page showed unwanted sidebar and resolves console warnings from swagger-ui-react components using deprecated React lifecycle methods. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| types | ||