Update Session07 Frontend.md

fixed minor bugs
This commit is contained in:
Amin
2025-06-07 00:11:34 +03:30
committed by GitHub
parent c2990c20cb
commit 24e9c46667
@@ -368,7 +368,7 @@ interface LoginModalProps {
## 🔹 Component Setup ## 🔹 Component Setup
```tsx ```tsx
const LoginModal: React.FC<LoginModalProps> = ({ onClose }) => { const LoginModal: React.FC<LoginModalProps> = ({ onClose }) => { ... };
``` ```
Defines a functional React component with the `onClose` prop destructured. Defines a functional React component with the `onClose` prop destructured.