Skip to content

Commit

Permalink
i18n(ko-KR): update actions.mdx (#10545)
Browse files Browse the repository at this point in the history
Co-authored-by: Yan <[email protected]>
  • Loading branch information
jsparkdev and yanthomasdev authored Dec 28, 2024
1 parent 0110206 commit b839d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/ko/guides/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ const result = Astro.getActionResult(actions.newsletter);
const inputErrors = isInputError(result?.error) ? result.error.fields : {};
---
<form method="POST" action={'/confirmation' + actions.newsletter}>
<form method="POST" action={actions.newsletter}>
<label>
E-mail
<input required type="email" name="email" aria-describedby="error" />
Expand Down Expand Up @@ -701,7 +701,7 @@ import { actions } from 'astro:actions';
const searchQuery = Astro.url.searchParams.get('search');
if (searchQuery) {
const { data, error } = Astro.callAction(actions.findProduct, { query: searchQuery });
const { data, error } = await Astro.callAction(actions.findProduct, { query: searchQuery });
// 결과 처리
}
---
Expand Down

0 comments on commit b839d21

Please sign in to comment.