Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Refactored codeblock and fixed storybook #286

Merged
merged 4 commits into from
Aug 16, 2024

Conversation

RamiAwar
Copy link
Owner

@RamiAwar RamiAwar commented Aug 4, 2024

No description provided.

const [savedCode, setSavedCode] = useState<string>(() =>
formattedCodeOrInitial(code)
formattedCodeOrInitial(code, dialect as SupportedFormatters)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the dialect is not supported? Like snowflake

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what would happen, gotta try it

Copy link
Collaborator

@anthony2261 anthony2261 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't check the storybook stuff though

@RamiAwar
Copy link
Owner Author

RamiAwar commented Aug 5, 2024

Didn't check the storybook stuff though

it's okay, nothing fancy there

@RamiAwar RamiAwar merged commit e2388f3 into main Aug 16, 2024
4 checks passed
@RamiAwar RamiAwar deleted the refactoring-and-planner-node branch August 16, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants