Skip to content

Commit 831703d

Browse files
committed
Fix playground
1 parent cf42522 commit 831703d

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

website/src/components/PlaygroundFeatures/ConfigBar.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from "react";
22
import store, {
33
getNullableByDefault,
44
getOutputOption,
5-
getShowGratsDirectives,
65
useAppSelector,
76
} from "./store";
87
import FormatButton from "./FormatButton";
@@ -11,7 +10,6 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
1110

1211
export 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={{

0 commit comments

Comments
 (0)