Línea 1... |
Línea 1... |
1 |
import React, { Suspense } from "react";
|
1 |
import React, { Suspense } from "react";
|
2 |
import { connect } from "react-redux";
|
2 |
import { connect } from "react-redux";
|
3 |
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
|
3 |
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
|
4 |
import { feedTypes } from "../../../redux/feed/feed.types";
|
4 |
import { feedTypes } from "../../../redux/feed/feed.types";
|
5 |
import { addNotification } from "../../../redux/notification/notification.actions";
|
5 |
import { addNotification } from "../../../redux/notification/notification.actions";
|
- |
|
6 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
- |
|
7 |
import NotificationAlert from "../../../shared/notification/NotificationAlert";
|
- |
|
8 |
import ShareModal from "../share-modal/ShareModal";
|
Línea 6... |
Línea -... |
6 |
|
- |
|
7 |
const PeopleYouMayKnow = React.lazy(() => import("../../../shared/helpers/people-you-may-know/PeopleYouMayKnow"));
|
- |
|
8 |
const NotificationAlert = React.lazy(() => import("../../../shared/notification/NotificationAlert"));
|
- |
|
9 |
const FeedSection = React.lazy(() => import("../feed-section/FeedSection"));
|
- |
|
10 |
const ShareFeed = React.lazy(() => import("../share-feed/ShareFeed"));
|
- |
|
11 |
const ShareModal = React.lazy(() => import("../share-modal/ShareModal"));
|
9 |
|
12 |
const SuggestedGroupsHelper = React.lazy(() => ("../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper"));
|
- |
|
13 |
const HomeNews = React.lazy(() => import("./HomeNews"));
|
10 |
const SuggestedGroupsHelper = React.lazy(() => ("../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper"));
|
- |
|
11 |
const SocialNetworks = React.lazy(() => import("./SocialNetworks"));
|
- |
|
12 |
const ShareFeed = React.lazy(() => import("../share-feed/ShareFeed"));
|
- |
|
13 |
const FeedSection = React.lazy(() => import("../feed-section/FeedSection"));
|
- |
|
14 |
const PeopleYouMayKnow = React.lazy(() => import("../../../shared/helpers/people-you-may-know/PeopleYouMayKnow"));
|
Línea 14... |
Línea 15... |
14 |
const SocialNetworks = React.lazy(() => import("./SocialNetworks"));
|
15 |
const HomeNews = React.lazy(() => import("./HomeNews"));
|
Línea 15... |
Línea 16... |
15 |
|
16 |
|
16 |
import styles from "./HomeSection.module.scss";
|
17 |
import styles from "./HomeSection.module.scss";
|
Línea 102... |
Línea 103... |
102 |
<NotificationAlert />
|
103 |
<NotificationAlert />
|
103 |
</div>
|
104 |
</div>
|
104 |
);
|
105 |
);
|
105 |
};
|
106 |
};
|
Línea 106... |
Línea -... |
106 |
|
- |
|
107 |
// const mapStateToProps = (state) => ({
|
- |
|
108 |
|
- |
|
109 |
// })
|
- |
|
110 |
|
107 |
|
111 |
const mapDispatchToProps = {
|
108 |
const mapDispatchToProps = {
|
112 |
setTimelineUrl: (url) => setTimelineUrl(url),
|
109 |
setTimelineUrl: (url) => setTimelineUrl(url),
|
113 |
addNotification: (notification) => addNotification(notification),
|
110 |
addNotification: (notification) => addNotification(notification),
|