Skip to content

Commit ef80370

Browse files
committed
fix(tasks): show home UI for empty new tasks
1 parent 005ecee commit ef80370

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/sim/app/workspace/[workspaceId]/home

apps/sim/app/workspace/[workspaceId]/home/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export function Home({ chatId }: HomeProps = {}) {
300300
return () => ro.disconnect()
301301
}, [hasMessages])
302302

303-
if (!hasMessages && !chatId) {
303+
if (!hasMessages && !showChatSkeleton) {
304304
return (
305305
<div className='h-full overflow-y-auto bg-[var(--bg)] [scrollbar-gutter:stable_both-edges]'>
306306
<div className='flex min-h-full flex-col items-center justify-center px-6 pb-[2vh]'>

0 commit comments

Comments
 (0)