# Components \> deleting a movie \> Line 11:45: 'm' is not defined no-undef

**URL:** <https://forum.codewithmosh.com/t/components-deleting-a-movie-line-11-m-is-not-defined-no-undef/8230>\
**Category:** React\
**Created:** [October 31, 2021, 7:25am UTC](https://forum.codewithmosh.com/t/components-deleting-a-movie-line-11-m-is-not-defined-no-undef/8230 "2021-10-31T07:25:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romaneson](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@Romaneson](https://forum.codewithmosh.com/u/Romaneson)\
**Post date:** [October 31, 2021, 7:25am UTC](https://forum.codewithmosh.com/t/components-deleting-a-movie-line-11-m-is-not-defined-no-undef/8230/1 "2021-10-31T07:25:20Z")

</div>

Hello, I doing a Mastering React course. I am at session “Components \> 18- Deleting a Movie”. I was done everything like Mosh, but when I go to browser, it apear me an error:

```auto
Failed to compile
src\components\movies.jsx
  Line 11:45: 'm' is not defined no-undef
  Line 11:49: 'm' is not defined no-undef

Search for the keywords to learn more about each error.

```

I do not know how to take over this. Would someone help me with it please?

I attaching a screenshot

 ![bandicam 2021-10-31 08-15-08-271](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/2c6d99f31702a3c0d0b0cee14ae33ef0e8cc47e4.jpeg)

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [October 31, 2021, 9:19am UTC](https://forum.codewithmosh.com/t/components-deleting-a-movie-line-11-m-is-not-defined-no-undef/8230/2 "2021-10-31T09:19:56Z")

</div>

Check the argument to the `filter()` function and replace the assignment operator `=` by an arrow `=>`.

---

<div class="post-metadata">

**Author:** ![Romaneson](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@Romaneson](https://forum.codewithmosh.com/u/Romaneson)\
**Post date:** [November 4, 2021, 5:53pm UTC](https://forum.codewithmosh.com/t/components-deleting-a-movie-line-11-m-is-not-defined-no-undef/8230/3 "2021-11-04T17:53:36Z")

</div>

Hi, i have similar problem again, in lesson “14 - Passing Event Arguments”. In first picture everything is okay, but in second screenshot not.

 ![undefined](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/0/0c74875736d002007690e0f0a54b161dfdf5147a.jpeg)

---

<div class="post-metadata">

**Author:** ![SAM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sam/32/167_2.png) [@SAM](https://forum.codewithmosh.com/u/SAM)\
**Post date:** [November 5, 2021, 5:48am UTC](https://forum.codewithmosh.com/t/components-deleting-a-movie-line-11-m-is-not-defined-no-undef/8230/4 "2021-11-05T05:48:47Z")

</div>

You were not supposed to code along with Mosh in that lesson. He was just explaining how you could pass arguments if you had any.
