Skip to content

Commit

Permalink
refactor: remove unneeded children prop
Browse files Browse the repository at this point in the history
  • Loading branch information
octokatherine authored Oct 29, 2021
1 parent 05117cd commit b12217b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions example-nextjs/components/CodeRunnerUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ interface Props {
onRunCode(inputCode: string): Promise<string | void>
languageLabel: string
isLoading?: boolean
children?: React.ReactNode
hideOutputEditor?: boolean
}

Expand All @@ -21,7 +20,6 @@ export default function CodeRunnerUI(props: Props) {
hideOutputEditor,
isLoading = false,
defaultLanguage,
children,
onRunCode,
} = props

Expand Down

0 comments on commit b12217b

Please sign in to comment.