@@ -88,16 +88,16 @@ function EmptyNote() {
8888
8989Daha fazlası için [ ` “use server” ` ] ( /reference/rsc/use-server ) dokümanlarına bakın.
9090
91- ### Composing Server Actions with Actions {/* composing-server-actions-with-actions* /}
91+ ### Sunucu Eylemlerini Eylemlerle Oluşturma {/* composing-server-actions-with-actions* /}
9292
93- Server Actions can be composed with Actions on the client :
93+ Sunucu Eylemleri, istemci üzerindeki Eylemlerle birlikte oluşturulabilir :
9494
9595``` js [[1, 3, "updateName"]]
9696" use server" ;
9797
9898export async function updateName (name ) {
9999 if (! name) {
100- return {error: ' Name is required ' };
100+ return {error: ' İsim gereklidir ' };
101101 }
102102 await db .users .updateName (name);
103103}
@@ -128,15 +128,15 @@ function UpdateName() {
128128 return (
129129 < form action= {submitAction}>
130130 < input type= " text" name= " name" disabled= {isPending}/ >
131- {state .error && < span> Failed : {state .error }< / span> }
131+ {state .error && < span> Başarısız : {state .error }< / span> }
132132 < / form>
133133 )
134134}
135135```
136136
137- This allows you to access the ` isPending ` state of the Server Action by wrapping it in an Action on the client .
137+ Bu, Sunucu Eyleminin ` isPending ` durumuna, istemcideki bir Eyleme sararak erişmenizi sağlar .
138138
139- For more, see the docs for [ Calling a Server Action outside of ` <form> ` ] ( /reference/rsc/use-server#calling-a-server-action-outside-of-form )
139+ Daha fazlası için [ Sunucu Eylemini ` <form> ` dışında çağırma ] ( /reference/rsc/use-server#calling-a-server-action-outside-of-form ) dokümanlarına bakın
140140
141141### Form Actions with Server Actions {/* form-actions-with-server-actions* /}
142142
0 commit comments