Skip to content

Commit f3a2d00

Browse files
committed
Reordered the faker variables
- Now defined in the same order as they are pushed into projectsMap
1 parent dc9c7b0 commit f3a2d00

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/activity/fakeData.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ const eventsMap = [];
55
for (let i = 1; i <= 20; i += 1) {
66
const title = faker.company.catchPhrase();
77
const description = faker.lorem.paragraph(2);
8-
const location = `Room ${faker.address.buildingNumber()}`;
9-
const images = [
10-
faker.image.nature(),
11-
faker.image.technics(),
12-
faker.image.animals(),
13-
];
148
const dateTime = faker.date.future(60);
159
const day =
1610
dateTime.getDate() < 10
1711
? `0${dateTime.getDate().toLocaleString()}`
1812
: dateTime.getDate().toLocaleString();
1913
const month = dateTime.toLocaleString("en-US", { month: "short" });
2014
const time = dateTime.toLocaleTimeString();
15+
const location = `Room ${faker.address.buildingNumber()}`;
16+
const images = [
17+
faker.image.nature(),
18+
faker.image.technics(),
19+
faker.image.animals(),
20+
];
2121
const meetingUrl = "https://zoom.us/";
2222

2323
eventsMap.push({

0 commit comments

Comments
 (0)