clean up proposal logic

This commit is contained in:
Will Chen
2025-04-18 13:23:26 -07:00
parent 639b3a320c
commit a4702f90b0
7 changed files with 74 additions and 61 deletions

View File

@@ -20,7 +20,7 @@ export default function HomePage() {
const { settings, isAnyProviderSetup } = useSettings();
const setIsPreviewOpen = useSetAtom(isPreviewOpenAtom);
const [isLoading, setIsLoading] = useState(false);
const { streamMessage } = useStreamChat();
const { streamMessage } = useStreamChat({ hasChatId: false });
// Get the appId from search params
const appId = search.appId ? Number(search.appId) : null;