Skip to content

Commit

Permalink
Task2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nawwar14 committed Oct 5, 2024
1 parent 2ee2b60 commit 8e0082e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/MainPage/MainPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Card from '../MainPageCard/Card.tsx';
import {cardProperties} from '../../src/index.tsx';
import {cardProperties} from '../src/index.tsx';

Check failure on line 2 in src/components/MainPage/MainPage.tsx

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../src/index.tsx' or its corresponding type declarations.
function MainPage({ CardProps }: { CardProps:cardProperties[] }):JSX.Element{
return(
<div className="page page--gray page--main">
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainPageCard/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

import {cardProperties} from '../src/index.tsx';

Check failure on line 1 in src/components/MainPageCard/Card.tsx

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../src/index.tsx' or its corresponding type declarations.
function Card(MainPageCardProps:cardProperties):JSX.Element{
return(
<article className="cities__card place-card">
Expand Down

0 comments on commit 8e0082e

Please sign in to comment.