mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-21 16:21:25 +02:00
Merge main into proxy branch (formatting and docs)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { InlineCode } from '@yaakapp-internal/ui';
|
||||
import { showToast } from '../lib/toast';
|
||||
import { activeWorkspaceAtom } from './useActiveWorkspace';
|
||||
import { useAtomValue } from "jotai";
|
||||
import { useEffect, useState } from "react";
|
||||
import { InlineCode } from "@yaakapp-internal/ui";
|
||||
import { showToast } from "../lib/toast";
|
||||
import { activeWorkspaceAtom } from "./useActiveWorkspace";
|
||||
|
||||
export function useActiveWorkspaceChangedToast() {
|
||||
const activeWorkspace = useAtomValue(activeWorkspaceAtom);
|
||||
@@ -22,7 +22,7 @@ export function useActiveWorkspaceChangedToast() {
|
||||
timeout: 3000,
|
||||
message: (
|
||||
<>
|
||||
Activated workspace{' '}
|
||||
Activated workspace{" "}
|
||||
<InlineCode className="whitespace-nowrap">{activeWorkspace.name}</InlineCode>
|
||||
</>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user