Skip to content

Commit

Permalink
fix: docs eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonlaurentino committed Jun 17, 2022
1 parent 75b3795 commit f712a39
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { MouseEventHandler } from 'react'


interface CodeBlockWrapperState {
isCodeBlockCollapsed: Boolean
isCollapsibleModeOn: Boolean
isCodeBlockCollapsed: boolean
isCollapsibleModeOn: boolean
}

interface CodeBlockWrapperProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { ApolloExplorerReact } from '@apollo/explorer'
import { useColorMode } from '@docusaurus/theme-common'

var GraphQLExplorer = function ({ query, vars }) {
const GraphQLExplorer = function ({ query, vars }) {
const { isDarkTheme } = useColorMode()
return (
<div>
Expand Down
1 change: 1 addition & 0 deletions apps/docs/src/components/PropsSection/PropsSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const PropsSection = ({ name }) => {

return Object.keys(props).map(key => (
<PropsComponent
key={key}
name={key}
type={props[key].type?.name}
defaultValue={props[key].defaultValue?.value ?? null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function StarterSubmissionForm() {
).then(() => setIsSent(true))
.catch(() => alert("There was an error, please try again"))
}
const thankYouMessage = <p className="text-seriousBlack">Thank you for submitting your Starter! We'll get in touch with you as soon as possible!</p>
const thankYouMessage = <p className="text-seriousBlack">Thank you for submitting your Starter! {"We'll"} get in touch with you as soon as possible!</p>
const form = <form className={styles.submissionForm} onSubmit={submitStarter}>
<label htmlFor="ContactEmail">Contact Email</label>
<input
Expand Down Expand Up @@ -71,7 +71,7 @@ function StarterSubmissionForm() {
<label htmlFor="Description">Description of Starter ({textAreaCount}/200)</label>
<textarea
required
maxlength="200"
maxLength="200"
placeholder="Description of Starter (Content limited to 200 characters)"
name="Description"
value={Description}
Expand All @@ -80,7 +80,7 @@ function StarterSubmissionForm() {
<label htmlFor="Features">Significant features (1 per line)</label>
<textarea
required
maxlength="200"
maxLength="200"
placeholder="Features"
name="Features"
value={Features}
Expand Down

0 comments on commit f712a39

Please sign in to comment.