Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Follow these steps to get your development environment set up.

```bash
git clone https://github.com/salvik21/TodoList.git
cd your-repo
cd TodoList
```

### 2. Install dependencies
Expand Down Expand Up @@ -66,16 +66,7 @@ npx prisma migrate dev --name init
npx prisma generate
```

### 5. Install additional libraries

```bash
npm install zod
```

> `useState` is included in React and does not require installation.
> `fetch` is built-in in browsers and available globally in Next.js.

### 6. Start the development server
### 5. Start the development server

```bash
npm run dev
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import React from 'react';
import Image from 'next/image';
type ImageAtomProps = {
src: string;
alt: string;
width?: number;
height?: number;
};

const ImageAtom = ({ src, alt, width, height }) => {
const ImageAtom = ({ src, alt, width, height }: ImageAtomProps) => {
return (
<Image src={src}
alt={alt}
Expand Down