Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 2612 | Rev 3182 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2612 Rev 2613
Línea 1... Línea 1...
1
import React from "react";
1
import React, { useState } from "react";
2
import { connect } from "react-redux";
2
import { connect } from "react-redux";
3
import { addNotification } from "../../../../redux/notification/notification.actions";
3
import { addNotification } from "../../../../redux/notification/notification.actions";
4
import Accessibility from "./accessibility/Accessibility";
4
import Accessibility from "./accessibility/Accessibility";
5
import Cover from "./cover/Cover";
5
import Cover from "./cover/Cover";
6
import GroupProfile from "./group-profile/GroupProfile";
6
import GroupProfile from "./group-profile/GroupProfile";
Línea 34... Línea 34...
34
    website,
34
    website,
35
  } = props.backendVars;
35
  } = props.backendVars;
Línea 36... Línea 36...
36
 
36
 
37
  // redux destructuring
37
  // redux destructuring
-
 
38
  const { addNotification } = props;
-
 
39
 
-
 
40
  const [settedPrivacy, setSettedPrivacy] = useState(privacy);
38
  const { addNotification } = props;
41
 
39
  return (
42
  return (
40
    <React.Fragment>
43
    <React.Fragment>
41
      <Cover
44
      <Cover
42
        cover={cover}
45
        cover={cover}
Línea 91... Línea 94...
91
                <Privacy
94
                <Privacy
92
                  groupId={groupId}
95
                  groupId={groupId}
93
                  privacy={privacy}
96
                  privacy={privacy}
94
                  privacies={privacies}
97
                  privacies={privacies}
95
                  addNotification={addNotification}
98
                  addNotification={addNotification}
-
 
99
                  setSettedPrivacy={setSettedPrivacy}
-
 
100
                  settedPrivacy={settedPrivacy}
96
                />
101
                />
97
                {/* <!--user-tab-sec endit--> */}
102
                {/* <!--user-tab-sec endit--> */}
Línea 98... Línea 103...
98
 
103
 
99
                {/* <!--user-tab-sec start--> */}
104
                {/* <!--user-tab-sec start--> */}
100
                <Accessibility
105
                <Accessibility
101
                  groupId={groupId}
106
                  groupId={groupId}
102
                  accessibility={accessibility}
107
                  accessibility={accessibility}
103
                  accessibilities={accessibilities}
108
                  accessibilities={accessibilities}
104
                  addNotification={addNotification}
109
                  addNotification={addNotification}
105
                  privacy={privacy}
110
                  privacy={settedPrivacy}
106
                />
111
                />
Línea 107... Línea 112...
107
                {/* <!--user-tab-sec endit--> */}
112
                {/* <!--user-tab-sec endit--> */}
108
 
113