Skip to content

Commit

Permalink
allow native when on embedder
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Jan 5, 2024
1 parent d8ca92d commit a1b4ed4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit a1b4ed4

Please sign in to comment.