From a1b4ed43ba19a69708235250acef45e3ea48be2e Mon Sep 17 00:00:00 2001
From: timothycarambat <rambat1010@gmail.com>
Date: Thu, 4 Jan 2024 16:12:20 -0800
Subject: [PATCH] allow native when on embedder

---
 .../pages/OnboardingFlow/Steps/EmbeddingPreference/index.jsx | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/frontend/src/pages/OnboardingFlow/Steps/EmbeddingPreference/index.jsx b/frontend/src/pages/OnboardingFlow/Steps/EmbeddingPreference/index.jsx
index c78d3f443..058967de1 100644
--- a/frontend/src/pages/OnboardingFlow/Steps/EmbeddingPreference/index.jsx
+++ b/frontend/src/pages/OnboardingFlow/Steps/EmbeddingPreference/index.jsx
@@ -29,7 +29,6 @@ export default function EmbeddingPreference({
   const [settings, setSettings] = useState(null);
   const formRef = useRef(null);
   const hiddenSubmitButtonRef = useRef(null);
-  const isHosted = window.location.hostname.includes("useanything.com");
   const navigate = useNavigate();
 
   useEffect(() => {
@@ -145,10 +144,6 @@ export default function EmbeddingPreference({
           </div>
           <div className="px-4 pt-[70px] flex flex-col gap-y-1 max-h-[390px] overflow-y-auto no-scroll pb-4">
             {filteredEmbedders.map((embedder) => {
-              if (embedder.value === "native" && isHosted) {
-                return null;
-              }
-
               return (
                 <EmbedderItem
                   key={embedder.name}
-- 
GitLab