mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-16 01:12:46 +00:00
fix: workspace navigation path from /workspace to /workspaces
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
import { useLocation, useNavigate } from 'react-router-dom';
|
||||
|
||||
import {
|
||||
deleteSessionById,
|
||||
deleteWorkspaceById,
|
||||
@@ -107,7 +106,7 @@ export const useWorkspaces = () => {
|
||||
|
||||
return nextSet;
|
||||
});
|
||||
navigate(`/workspace/${encodeURIComponent(workspaceId)}`);
|
||||
navigate(`/workspaces/${encodeURIComponent(workspaceId)}`);
|
||||
}, [navigate]);
|
||||
|
||||
const openSession = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user