Skip to content

Commit dea50d4

Browse files
authored
Merge pull request #405 from iceljc/features/refine-chat-window
fix new conversation
2 parents 1a651f1 + c5aa6b7 commit dea50d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/routes/chat/[agentId]/[conversationId]/chat-box.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import { Pane, Splitpanes } from 'svelte-splitpanes';
44
import Viewport from 'svelte-viewport-info';
55
import { page } from '$app/stores';
6-
import { goto } from '$app/navigation';
76
import Swal from 'sweetalert2';
87
import 'overlayscrollbars/overlayscrollbars.css';
98
import { OverlayScrollbars } from 'overlayscrollbars';
@@ -724,7 +723,7 @@
724723
const searchParams = $page.url.searchParams;
725724
const search = searchParams?.toString();
726725
const url = search ? `${path}?${search}` : path;
727-
goto(url);
726+
window.location.href = url;
728727
}
729728
730729
function pinDashboard() {

0 commit comments

Comments
 (0)