Conversation
| /** | ||
| * Only renders this block if user has selected TS in the codeblocks | ||
| * @Note leave a blank space after opening the tag e.g. | ||
| iblank space after opening the tag e.g. |
There was a problem hiding this comment.
It seems like the import statements and interface definition were unintentionally removed. This will cause the component to break as it relies on these imports and the Props interface.
Suggestion:
import { useStorageSlot } from '@docusaurus/theme-common';
import MDXContent from '@theme/MDXContent';
interface Props {
children: React.ReactNode;
}|
New channel created: sample-redwood-code-channel-december-18 |
|
New channel created: testing-pullflow |
|
New channel created: new-channel-2023 |
|
New channel created: sample-redoow-dec-31 |
|
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 ESLint
docs/src/components/ShowForTs.tsxOops! Something went wrong! :( ESLint: 8.57.1 Error: Cannot read config file: /.eslintrc.js
WalkthroughThis pull request simplifies the Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🪛 Biome (1.9.4)docs/src/components/ShowForTs.tsx[error] 3-3: Expected a semicolon or an implicit semicolon after a statement, but found none An explicit or implicit semicolon is expected here... ...Which is required to end this statement (parse) [error] 3-3: Expected a semicolon or an implicit semicolon after a statement, but found none An explicit or implicit semicolon is expected here... ...Which is required to end this statement (parse) [error] 3-3: Expected a semicolon or an implicit semicolon after a statement, but found none An explicit or implicit semicolon is expected here... ...Which is required to end this statement (parse) [error] 3-3: Expected a semicolon or an implicit semicolon after a statement, but found none An explicit or implicit semicolon is expected here... ...Which is required to end this statement (parse) [error] 3-3: Expected a semicolon or an implicit semicolon after a statement, but found none An explicit or implicit semicolon is expected here... ...Which is required to end this statement (parse) [error] 3-3: Expected a semicolon or an implicit semicolon after a statement, but found none An explicit or implicit semicolon is expected here... ...Which is required to end this statement (parse) 🔇 Additional comments (2)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit