💂♂️ fixed lint and prittier
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
---
|
||||
title: "Articol Tehnic din Subdirector"
|
||||
description: "Test pentru subdirectoare și organizare ierarhică"
|
||||
date: "2025-01-10"
|
||||
author: "Tech Writer"
|
||||
category: "Tehnologie"
|
||||
tags: ["nextjs", "react", "typescript"]
|
||||
title: 'Articol Tehnic din Subdirector'
|
||||
description: 'Test pentru subdirectoare și organizare ierarhică'
|
||||
date: '2025-01-10'
|
||||
author: 'Tech Writer'
|
||||
category: 'Tehnologie'
|
||||
tags: ['nextjs', 'react', 'typescript']
|
||||
draft: false
|
||||
---
|
||||
|
||||
@@ -25,14 +25,14 @@ Next.js este un framework React puternic care oferă:
|
||||
|
||||
```typescript
|
||||
interface User {
|
||||
id: number;
|
||||
name: string;
|
||||
email: string;
|
||||
id: number
|
||||
name: string
|
||||
email: string
|
||||
}
|
||||
|
||||
async function fetchUser(id: number): Promise<User> {
|
||||
const response = await fetch(`/api/users/${id}`);
|
||||
return response.json();
|
||||
const response = await fetch(`/api/users/${id}`)
|
||||
return response.json()
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user