File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/course/02- lessons/01-Bronze/StateColocationVsStateLifting/exercise/components Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ export const Form = () => {
26
26
} ;
27
27
28
28
// 💣 We can get rid of the eslint line once we start using the type param.
29
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/ban-ts-comment
30
+ // @ts -ignore
29
31
// eslint-disable-next-line @typescript-eslint/no-unused-vars
30
32
const onPokemonTypeSelection = ( type : string ) => {
31
33
// 🧑🏻💻 1.e: we need to check IF the selectedPokemonTypes already has the selectedType
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ export const PokemonOptions = ({ type }: IPokemonOptions) => {
33
33
} ;
34
34
35
35
// 💣 Can remove this comment once the code has been written
36
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/ban-ts-comment
37
+ // @ts -ignore
36
38
// eslint-disable-next-line @typescript-eslint/no-unused-vars
37
39
const togglePokemonSelection = ( pokemonId : string ) => {
38
40
// 🧑🏻💻 2.g: We need to now update the state for when a pokemon card is selected or not.
You can’t perform that action at this time.
0 commit comments