import React from 'react'; import { MenuBar } from './menubar'; import { currentShare } from '../../helpers/'; import './appframe.scss'; export class AppFrame extends React.Component{ constructor(props){ super(props); } render(){ let error = null; if(!this.props.args) { error = "Missing configuration. Contact your administrator"; } else if(!this.props.args.endpoint) { error = "Missing endpoint configuration. Contact your administrator"; } if(error !== null) return (