diff --git a/packages/website/src/components/ESQueryFilter.module.css b/packages/website/src/components/ESQueryFilter.module.css index 49dbce2ed6f..4aa0d9a1914 100644 --- a/packages/website/src/components/ESQueryFilter.module.css +++ b/packages/website/src/components/ESQueryFilter.module.css @@ -1,7 +1,4 @@ .searchContainer { display: flex; margin: 0 0 0.5rem 0; - position: sticky; - top: 0; - left: 0; } diff --git a/packages/website/src/components/EditorTabs.tsx b/packages/website/src/components/EditorTabs.tsx deleted file mode 100644 index 6edbee22422..00000000000 --- a/packages/website/src/components/EditorTabs.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import EditIcon from '@site/src/icons/edit.svg'; -import React from 'react'; - -import styles from './Playground.module.css'; -import type { TabType } from './types'; - -export interface FileTabsProps { - readonly tabs: TabType[]; - readonly activeTab: TabType; - readonly change: (tab: TabType) => void; - readonly showModal: () => void; -} - -export default function EditorTabs({ - tabs, - activeTab, - change, - showModal, -}: FileTabsProps): JSX.Element { - return ( -
-
- {tabs.map(item => { - return ( - - ); - })} -
- {activeTab !== 'code' && ( - - )} -
- ); -} diff --git a/packages/website/src/components/OptionsSelector.tsx b/packages/website/src/components/OptionsSelector.tsx index fe573ef86ab..0588e88cb94 100644 --- a/packages/website/src/components/OptionsSelector.tsx +++ b/packages/website/src/components/OptionsSelector.tsx @@ -22,13 +22,6 @@ export interface OptionsSelectorParams { readonly isLoading: boolean; } -const ASTOptions = [ - { value: false, label: 'Disabled' }, - { value: 'es', label: 'ESTree' }, - { value: 'ts', label: 'TypeScript' }, - { value: 'scope', label: 'Scope' }, -] as const; - function OptionsSelectorContent({ state, setState, @@ -109,15 +102,6 @@ function OptionsSelectorContent({ className={styles.optionCheckbox} /> -