File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
website/src/components/PlaygroundFeatures Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import React from "react";
22import store , {
33 getNullableByDefault ,
44 getOutputOption ,
5- getShowGratsDirectives ,
65 useAppSelector ,
76} from "./store" ;
87import FormatButton from "./FormatButton" ;
@@ -11,7 +10,6 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
1110
1211export default function ConfigBar ( ) : JSX . Element {
1312 const nullableByDefault = useAppSelector ( getNullableByDefault ) ;
14- const showGratsDirectives = useAppSelector ( getShowGratsDirectives ) ;
1513 const outputOption = useAppSelector ( getOutputOption ) ;
1614 const { gitHash } = useDocusaurusContext ( ) . siteConfig . customFields as {
1715 gitHash : string ;
@@ -71,21 +69,6 @@ export default function ConfigBar(): JSX.Element {
7169 < option value = "resolverSignatures" > Metadata</ option >
7270 </ select >
7371 </ Label >
74- { outputOption === "sdl" && (
75- < Label >
76- < input
77- checked = { showGratsDirectives }
78- type = "checkbox"
79- onChange = { ( e ) => {
80- store . dispatch ( {
81- type : "SHOW_GRATS_DIRECTIVE_INPUT_CHANGED" ,
82- value : e . target . checked ,
83- } ) ;
84- } }
85- />
86- Show Grats directives
87- </ Label >
88- ) }
8972 </ ConfigBlock >
9073 < div
9174 style = { {
You can’t perform that action at this time.
0 commit comments