Skip to content

Conversation

@Al-Kheerow
Copy link

No description provided.

function Footer() {
return (
<div className="main-footer">
<small style={{ marginRight: "20px" }}>Developed by </small>-
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use inline styles, and have it in external css file

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one we removed it all but still we had used some inline styling along the project it is not worth it to make a class for it it is so specific for one component

import DropdownCategories from "./DropdownCategories";
import { constructUrl } from "./Api";

export default function SearchBox(props) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract the props here too

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what you mean ?

handleQuery={props.handleQuery}
handleMovies={props.handleMovies}
isLoading={props.isLoading}
setIsLoading={props.setIsLoading}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you passing this here?

@osamaakb
Copy link
Contributor

osamaakb commented Jul 1, 2020

really good job, like how you separated the concerns, can you please put the github pages URL here too.
also left you some comments make sure to check!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants