Fix client-tla-client to not render 'done' during SSR
Previously result was always 'done' so next.fetch() (SSR) would pass
the test trivially without running any client-side promises. Now result
is empty string on SSR and set to 'done' only after the client loop
completes. suppressHydrationWarning suppresses the expected mismatch.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment