11import { Stream , Streamable } from '@/vibes/soul/lib/streamable' ;
2+ import { Button } from '@/vibes/soul/primitives/button' ;
23import { CursorPagination , CursorPaginationInfo } from '@/vibes/soul/primitives/cursor-pagination' ;
34import { Rating } from '@/vibes/soul/primitives/rating' ;
45import { StickySidebarLayout } from '@/vibes/soul/sections/sticky-sidebar-layout' ;
@@ -67,7 +68,6 @@ export function Reviews({
6768 return (
6869 < ReviewsEmptyState
6970 action = { action }
70- formButtonLabel = { formButtonLabel }
7171 formEmailLabel = { formEmailLabel }
7272 formModalTitle = { formModalTitle }
7373 formNameLabel = { formNameLabel }
@@ -124,7 +124,6 @@ export function Reviews({
124124 </ Stream >
125125 < ReviewForm
126126 action = { action }
127- formButtonLabel = { formButtonLabel }
128127 formEmailLabel = { formEmailLabel }
129128 formModalTitle = { formModalTitle }
130129 formNameLabel = { formNameLabel }
@@ -136,6 +135,11 @@ export function Reviews({
136135 streamableImages = { streamableImages }
137136 streamableProduct = { streamableProduct }
138137 streamableUser = { streamableUser }
138+ trigger = {
139+ < Button className = "mx-auto mt-8" size = "small" variant = "tertiary" >
140+ { formButtonLabel }
141+ </ Button >
142+ }
139143 />
140144 </ >
141145 }
@@ -225,7 +229,6 @@ export function ReviewsEmptyState({
225229 < p className = "text-center" > { message } </ p >
226230 < ReviewForm
227231 action = { action }
228- formButtonLabel = { formButtonLabel }
229232 formEmailLabel = { formEmailLabel }
230233 formModalTitle = { formModalTitle }
231234 formNameLabel = { formNameLabel }
@@ -237,6 +240,11 @@ export function ReviewsEmptyState({
237240 streamableImages = { streamableImages }
238241 streamableProduct = { streamableProduct }
239242 streamableUser = { streamableUser }
243+ trigger = {
244+ < Button className = "mx-auto mt-8" size = "small" variant = "tertiary" >
245+ { formButtonLabel }
246+ </ Button >
247+ }
240248 />
241249 </ div >
242250 </ StickySidebarLayout >
0 commit comments