Make FS paths configurable

This commit is contained in:
Alex Gleason committed 2025-10-23 14:50:05 -05:00
1 parent f89a481c9c
commit d75bd386aa
43 files changed
+393 -124

No files matched your search

@@ -24,6 +24,7 @@ import {
Megaphone,
} from 'lucide-react';
import { useGit } from '@/hooks/useGit';
import { useFSPaths } from '@/hooks/useFSPaths';
import { useCurrentUser } from '@/hooks/useCurrentUser';
import { useNostr } from '@/hooks/useNostr';
import { useToast } from '@/hooks/useToast';
@@ -59,11 +60,12 @@ export function AnnounceRepositoryDialog({
const [newRelay, setNewRelay] = useState('');
const { git } = useGit();
const { projectsPath } = useFSPaths();
const { user } = useCurrentUser();
const { nostr } = useNostr();
const { toast } = useToast();
const projectPath = `/projects/${projectId}`;
const projectPath = `${projectsPath}/${projectId}`;
useEffect(() => {
if (open !== undefined) {