Skip to content

Commit a227f4b

Browse files
i18n(es): update actions.mdx (#12337)
Co-authored-by: Yan <[email protected]>
1 parent a4cddad commit a227f4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/docs/es/guides/actions.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ Todas las acciones en tu proyecto deben ser exportadas desde el objeto `server`
139139
Por ejemplo, para agrupar todas tus acciones de usuario, puedes crear un archivo `src/actions/user.ts` y anidar las definiciones de `getUser` y `createUser` dentro de un solo objeto `user`.
140140

141141

142-
```ts
143-
// src/actions/user.ts
142+
```ts title="src/actions/user.ts"
144143
import { defineAction } from 'astro:actions';
145144

146145
export const user = {

0 commit comments

Comments
 (0)