Skip to content

Commit

Permalink
fixed jsx highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Jan 19, 2022
1 parent cb59384 commit 64c0f40
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@
crossorigin
src="https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-typescript.min.js"
></script>
<script
crossorigin
src="https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-tsx.min.js"
></script>
<script
crossorigin
src="https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-jsx.min.js"
Expand Down
2 changes: 0 additions & 2 deletions docs/js/runkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
const tempCodePlaceholder = document.createElement('pre');
tempCodePlaceholder.textContent = source;

console.log(this.getAttributeNames());

window.RunKit.createNotebook({
element: wrapper,
source,
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/usage-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ code to handle cache invalidation, strategies and etc.
With this library, you can just call any axios method without worrying about requesting
thousands of times for every component draw. Simple as that!

```tsx
```jsx
function Component() {
// React component state (but can be from any other framework, library and etc)
const [data, setData] = useState(null);
Expand Down

0 comments on commit 64c0f40

Please sign in to comment.