From 2e8db7ad2384b756894eac6be72bcf720f7f28fa Mon Sep 17 00:00:00 2001
From: "Fred K. Schott" <fkschott@gmail.com>
Date: Thu, 26 Aug 2021 15:02:38 -0700
Subject: add algolia and cleanup docs readme

---
 examples/docs/src/components/Header/LanguageSelect.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'examples/docs/src/components/Header/LanguageSelect.tsx')

diff --git a/examples/docs/src/components/Header/LanguageSelect.tsx b/examples/docs/src/components/Header/LanguageSelect.tsx
index cf325eedc..8b9807fe8 100644
--- a/examples/docs/src/components/Header/LanguageSelect.tsx
+++ b/examples/docs/src/components/Header/LanguageSelect.tsx
@@ -1,7 +1,7 @@
 import type { FunctionalComponent } from 'preact';
 import { h } from 'preact';
 import './LanguageSelect.css';
-import { LANGUAGE_NAMES, langPathRegex } from '../../languages';
+import { KNOWN_LANGUAGES, langPathRegex } from '../../languages';
 
 const LanguageSelect: FunctionalComponent<{ lang: string }> = ({ lang }) => {
   return (
@@ -23,9 +23,9 @@ const LanguageSelect: FunctionalComponent<{ lang: string }> = ({ lang }) => {
           window.location.pathname = '/' + newLang + actualDest;
         }}
       >
-        {Object.keys(LANGUAGE_NAMES).map((key) => {
+        {Object.keys(KNOWN_LANGUAGES).map((key) => {
           return (
-            <option value={LANGUAGE_NAMES[key]}>
+            <option value={KNOWN_LANGUAGES[key]}>
               <span>{key}</span>
             </option>
           );
-- 
cgit v1.2.3

