- {Object.entries(colors).map((color, key) => {
- const level = color[0];
- const hex = color[1] as string;
- return (
-
-
-
-
- {level}
-
-
- {hex}
-
+
+ {Object.entries(colors).map(([level, hex]) => (
+
+ ))}
);
diff --git a/widgets/search.tsx b/widgets/search.tsx
index 4b9c13e4c..fefaa4361 100644
--- a/widgets/search.tsx
+++ b/widgets/search.tsx
@@ -1,16 +1,12 @@
import React from "react";
import { DocSearch } from "@docsearch/react";
-const APP_ID = "37KXIBLNGX";
-const INDEX_NAME = "material-tailwind";
-const API_KEY = "8cc5688018e14bad2a2528eea41fbb35";
-
export function Search() {
return (
);