Skip to content

rtk eval#6

Open
PaulJohnson19 wants to merge 2 commits intoprojectshft:mainfrom
PaulJohnson19:main
Open

rtk eval#6
PaulJohnson19 wants to merge 2 commits intoprojectshft:mainfrom
PaulJohnson19:main

Conversation

@PaulJohnson19
Copy link
Copy Markdown

No description provided.

}
};
//convenience to hit 'enter' instead of only clicking by calling handlesearch via 'enter' keydown
const handleKeyDown = (e) => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggestion: use names that are less vague - instead of e use event

import { fetchWeatherAPI } from './store/slices/weatherSlice';
import { SparklinesLine, Sparklines, SparklinesReferenceLine } from 'react-sparklines';

function getHighLow(data) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggestion: use functional expressions vs declarations

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.

2 participants