I am trying to understand why this is returning an error `Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions`
as far as Im aware the value being passed into LessonId is correct.

Further upstream I am able to just `<Redirect to="/edit/Lesson/"+LessonId; />` but im currently trying to redirect on doubleclick hence the function.

```
<tr className="lessonTableRow" key={lesson.lessonId} onDoubleClick={() =>{ lessonTableRowLink(lesson.lessonId)}}>

```

```
const lessonTableRowLink =  (LessonId:number|undefined) => {

        let link = '/edit/Lesson/'+LessonId;

        <Redirect to= {link} />
    }

```