Let's take a look at a solution, so I'm going to first take a look at my dream list as file.
So here's our dream list component.
We're going to make a change to the logic that actually renders out the list inside of here.
I'm going to scroll down a little bit and find the render list method.
So inside of here, we are mapping over the entire streams array.
And then for right now, we are always returning some d'Hiv with the class name of item to one way that
we could implement this new feature would be to just add a little check inside this mapping function
right above the return statement.
We could take a look and see if this got props.
Dot current user ID is equal to or in this case we actually want not equal to stream dot user ID.
So those are not the same then we could just return null or return early out of this mapping function
and not return any jazz at all.
So in this case, I'll do a return null like so.
And now we can see very easily that we are only rendering the streams that were created by the current
user.
So I'd say this looks like a good solution.
I'm going to check the solution and just make sure it passes the test.
There we go.
OK, looks good.
Let's take a pause here and continue with our application in just a moment.