mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
Clarify copy
This commit is contained in:
parent
7fb24af3e0
commit
a434731d3a
@ -17,7 +17,7 @@ type TabType = 'data' | 'apiKeys' | 'features' | 'debug' | 'event-logs' | 'conne
|
|||||||
|
|
||||||
export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
|
export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
|
||||||
const [activeTab, setActiveTab] = useState<TabType>('data');
|
const [activeTab, setActiveTab] = useState<TabType>('data');
|
||||||
const { toggleArboretum } = useArboretumVisibility();
|
const { isArboretumVisible, toggleArboretum } = useArboretumVisibility();
|
||||||
|
|
||||||
const tabs: { id: TabType; label: string; icon: string; component?: ReactElement }[] = [
|
const tabs: { id: TabType; label: string; icon: string; component?: ReactElement }[] = [
|
||||||
{ id: 'connection', label: 'Connection', icon: 'i-ph:link', component: <ConnectionsTab /> },
|
{ id: 'connection', label: 'Connection', icon: 'i-ph:link', component: <ConnectionsTab /> },
|
||||||
@ -67,7 +67,7 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
|
|||||||
className="text-bolt-elements-textPrimary text-center mx-auto p-2 rounded-md mt-10"
|
className="text-bolt-elements-textPrimary text-center mx-auto p-2 rounded-md mt-10"
|
||||||
onClick={toggleArboretum}
|
onClick={toggleArboretum}
|
||||||
>
|
>
|
||||||
Toggle Arboretum
|
{isArboretumVisible ? 'Hide Arboretum' : 'Show Arboretum'}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user