This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { withStyles } from '@material-ui/core/styles'; | |
| import Grid from '@material-ui/core/Grid'; | |
| import ExpansionPanel from '@material-ui/core/ExpansionPanel'; | |
| import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary'; | |
| import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; | |
| import Typography from '@material-ui/core/Typography'; | |
| import AddIcon from '@material-ui/icons/Add'; | |
| import Button from '@material-ui/core/Button'; | |
| import ContactCard from './ContactCard'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import PropTypes from "prop-types"; | |
| import { withStyles } from "@material-ui/core/styles"; | |
| import Grid from "@material-ui/core/Grid"; | |
| import ContactCard from "./ContactCard"; | |
| import ExpansionPanel from "@material-ui/core/ExpansionPanel"; | |
| import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary"; | |
| import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; | |
| import Typography from "@material-ui/core/Typography"; | |
| import DeleteIcon from "@material-ui/icons/Delete"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import PropTypes from "prop-types"; | |
| import { withStyles } from "@material-ui/core/styles"; | |
| import Grid from "@material-ui/core/Grid"; | |
| import ContactCard from "./ContactCard"; | |
| import ExpansionPanel from "@material-ui/core/ExpansionPanel"; | |
| import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary"; | |
| import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; | |
| import Typography from "@material-ui/core/Typography"; | |
| import DeleteIcon from "@material-ui/icons/Delete"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import PropTypes from "prop-types"; | |
| import { withStyles } from "@material-ui/core/styles"; | |
| import Grid from "@material-ui/core/Grid"; | |
| import ContactCard from "./ContactCard"; | |
| import ExpansionPanel from "@material-ui/core/ExpansionPanel"; | |
| import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary"; | |
| import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; | |
| import Typography from "@material-ui/core/Typography"; | |
| import DeleteIcon from "@material-ui/icons/Delete"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import PropTypes from "prop-types"; | |
| import { withStyles } from "@material-ui/core/styles"; | |
| import Grid from "@material-ui/core/Grid"; | |
| import ContactCard from "./ContactCard"; | |
| import ExpansionPanel from "@material-ui/core/ExpansionPanel"; | |
| import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary"; | |
| import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; | |
| import Typography from "@material-ui/core/Typography"; | |
| import DeleteIcon from "@material-ui/icons/Delete"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| const AppContext = React.createContext(); | |
| export default AppContext; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| const AppContext = React.createContext(); | |
| export default AppContext; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from "react"; | |
| import Context from '../config/Context' | |
| export default class ContextProvider extends Component { | |
| constructor() { | |
| super(); | |
| this.state = { | |
| name: "Ismael" | |
| }; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function checkAnagram(str1, str2) { | |
| return ( | |
| Object.keys(createObjOfOcurrences(str1)).sort() === | |
| Object.keys(createObjOfOcurrences(str2)).sort() && | |
| Object.values(createObjOfOcurrences(str1)).sort() === | |
| Object.values(createObjOfOcurrences(str2).sort()) | |
| ); | |
| } | |
| function createObjOfOcurrences(str) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const validateCES = req => { | |
| const endPointReq = req.url; | |
| const ivuser = "A700033"; | |
| const endPoints2Users = { | |
| "/deployment/14/revision/save": ["A700048"], | |
| "/v2/ticker/": ["A700033", "A700048"], | |
| "/product/14/deployment/16/revision/getAll": ["A700052"], | |
| "/deployment/15/revision/delete": ["A700541"] | |
| }; | |
| const access = []; |