mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Update apps/web/src/hooks/useTaskHash.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
d6a4ee6d2f
commit
85ade4505d
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ export const useTaskHash = (): TaskHashState => {
|
|||
// Set task hash in URL
|
||||
const setTaskHash = useCallback((taskId: string | null) => {
|
||||
if (taskId) {
|
||||
window.location.hash = `task-${taskId}`;
|
||||
window.location.hash = `#task-${taskId}`;
|
||||
} else {
|
||||
// Clear hash without triggering scroll
|
||||
const url = new URL(window.location.href);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue