1
00:00:00,970 --> 00:00:05,260
As I mentioned, I made a little mistake in the last video inside of our repositories reducer, I forgot

2
00:00:05,260 --> 00:00:09,640
to initialize our state argument right here for the very first time that the producer runs.

3
00:00:09,980 --> 00:00:15,310
So I'm going to fix that very quickly, right away, right above the reducer, I'll add in initial state.

4
00:00:16,820 --> 00:00:21,560
And I'll provide some initial values for loading air and data, and I could bet you could guess what

5
00:00:21,560 --> 00:00:28,940
they're going to be, we'll start off with a loading of false, an air of null and data of empty array.

6
00:00:30,250 --> 00:00:33,880
Then on state right here, I'm going to put in state.

7
00:00:35,840 --> 00:00:41,390
Equals repository, state or city, state Colin repository, state equals initial state.

8
00:00:43,450 --> 00:00:44,350
I'll then save that.

9
00:00:46,060 --> 00:00:49,570
Look back over refresh, and now we can see that basic content up here.

10
00:00:50,390 --> 00:00:52,480
OK, so again, my apologies for that little mistake.

11
00:00:52,690 --> 00:00:54,540
It's a very small thing I meant to come back to.

12
00:00:55,210 --> 00:00:59,930
OK, let's close that repository thing, that reducer go back over to Repositories List component,

13
00:01:00,100 --> 00:01:03,090
and we'll start to add in a couple more things inside of here in just a moment.

