message: create error message on dashboard when interface cannot connect to contract
diff: @@ -19,12 +19,15 @@ export default function Dashboard({ provider, signedInAddress, roles }) {
  const [fetchingTokens, setFetchingTokens] = useState(false);
  + const [error, setError] = useState("");
  +
  function handleOpenTokenInfoModal(token) {
  setSelectedToken(token);
  setModalShow(true);
  }
  async function fetchBalances() {
  + try {
  // First, fetch number of unique tokens
  let numOfUniqueTokens = (await getNumOfUniqueTokens(provider)).toNumber();
  @@ -78,6 +81,11 @@ export default function Dashboard({ provider, signedInAddress, roles }) {
  setMyBalances(myBal);
  setMyIssuedTokens(myIssued);
  setFetchingTokens(false);
  + setError("");
  + } catch (error) {
  + console.log(error);
  + setError("Could not connect to contract. Check your network settings in your wallet.");
  + }
  }
  function handleRefresh() {
  @@ -115,6 +123,8 @@ export default function Dashboard({ provider, signedInAddress, roles }) {
  <p>View your token balances and tokens you've issued.</p>
  <p><Button variant="primary" onClick={handleRefresh}><BiRefresh/>&nbsp;Refresh</Button></p>
  + <p className="text-danger">{error}</p>
  +
  <div className={fetchingTokens ? "dimmed" : ""}>
  {fetchingTokens && (
  