Skip to content

Commit

Permalink
Remove the VarList component
Browse files Browse the repository at this point in the history
We don't use it very often in the docs, and it has failed to render
since at least 1fb84da. Removing
instead of putting in the resources to debug.
  • Loading branch information
ptgott committed May 13, 2024
1 parent b9734c8 commit ab53e97
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 66 deletions.
12 changes: 0 additions & 12 deletions components/Variables/VarList.module.css

This file was deleted.

51 changes: 0 additions & 51 deletions components/Variables/VarList.tsx

This file was deleted.

1 change: 0 additions & 1 deletion components/Variables/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { VarList } from "./VarList";
export { Var } from "./Var";
export { VarsProvider } from "./context";
3 changes: 1 addition & 2 deletions layouts/DocsPage/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Icon from "components/Icon";
import Notice from "components/Notice";
import Snippet from "components/Snippet";
import { Tabs, TabItem } from "components/Tabs";
import { Var, VarList } from "components/Variables";
import { Var } from "components/Variables";
import Details from "components/Details";
import {
Code,
Expand Down Expand Up @@ -67,5 +67,4 @@ export const components = {
snippet: Snippet,
details: Details,
var: (props) => <Var {...props} />, // needed to circumvent props mismatch in types
varlist: VarList,
};

0 comments on commit ab53e97

Please sign in to comment.