From 7ef01b90c0631517d40fd171de7eb94a61938e96 Mon Sep 17 00:00:00 2001 From: swve Date: Sun, 2 Feb 2025 11:50:32 +0100 Subject: [PATCH] fix: explore switch always enabled --- .../Pages/Org/OrgEditGeneral/OrgEditGeneral.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/web/components/Dashboard/Pages/Org/OrgEditGeneral/OrgEditGeneral.tsx b/apps/web/components/Dashboard/Pages/Org/OrgEditGeneral/OrgEditGeneral.tsx index 41b09c65..298b9c0f 100644 --- a/apps/web/components/Dashboard/Pages/Org/OrgEditGeneral/OrgEditGeneral.tsx +++ b/apps/web/components/Dashboard/Pages/Org/OrgEditGeneral/OrgEditGeneral.tsx @@ -20,6 +20,7 @@ import { mutate } from 'swr' import { getAPIUrl } from '@services/config/config' import Image from 'next/image' import learnhouseIcon from '@public/learnhouse_logo.png' +import Link from 'next/link' const ORG_LABELS = [ { value: 'languages', label: '🌐 Languages' }, @@ -86,7 +87,7 @@ const OrgEditGeneral: React.FC = () => { description: org?.description || '', about: org?.about || '', label: org?.label || '', - explore: org?.explore ?? true, + explore: org?.explore ?? false, } const updateOrg = async (values: OrganizationValues) => { @@ -216,7 +217,7 @@ const OrgEditGeneral: React.FC = () => {
-
+ { EXPLORE -
+

@@ -238,7 +239,7 @@ const OrgEditGeneral: React.FC = () => {

setFieldValue('explore', checked)} />