Skip to content

Conversation

@henchaves
Copy link
Member

Description

This PR makes the props of CodeSnippet component as optional, in order to avoid getting console errors like "missing prop ..."

Related Issue

GSK-1399 (available on Linear)

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

@henchaves henchaves self-assigned this Jul 6, 2023
@linear
Copy link

linear bot commented Jul 6, 2023

GSK-1399 Fix missing required prop in CodeSnippet component

A lots of error logs are being displayed because the "language" prop is not being provided to CodeSnippet component instances.

image.png

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@henchaves henchaves merged commit 13b1577 into main Jul 6, 2023
@Hartorn Hartorn deleted the feature/gsk-1399-fix-missing-required-prop-in-codesnippet-component branch September 13, 2023 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants