Skip to content

Commit

Permalink
Update: Correct server action to be called 01-streaming-user-interfac… (
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMaina100 authored May 16, 2024
1 parent 53ad768 commit a8fe73c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ On the client side, you can request to the `getWeather` Server Action via a norm
```tsx file='app/page.tsx'
import { useState } from 'react';
import { readStreamableValue } from 'ai/rsc';
import { runThread } from '@/actions';
import { getWeather } from '@/actions';

export default function Page() {
const [weather, setWeather] = useState(null);
Expand Down

0 comments on commit a8fe73c

Please sign in to comment.