Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"use strict";
var React = require("react"),
ReactShare = require("react-share");
var ShareButtons = ReactShare.ShareButtons;
var FacebookShareButton = ShareButtons.FacebookShareButton;
var TwitterShareButton = ShareButtons.TwitterShareButton;
var GooglePlusShareButton = ShareButtons.GooglePlusShareButton;
var generateShareIcon = ReactShare.generateShareIcon;
var FacebookIcon = generateShareIcon('facebook');
var TwitterIcon = generateShareIcon('twitter');
var GooglePlusIcon = generateShareIcon('google');
var url = window.location.href;
var title = "Online Budget Analysis Tool";
var tempArray = url.split("#");
var embedString = "#/embed";
var embedUrl = tempArray[0] + embedString + tempArray[1];