remove uneeded

pull/5370/head
yann300 3 years ago
parent 830e77575b
commit d3566292c9
  1. 1
      apps/remix-ide/src/config.js
  2. 1
      libs/remix-ui/settings/src/lib/constants.ts
  3. 2
      libs/remix-ui/settings/src/lib/remix-ui-settings.tsx

@ -17,6 +17,7 @@ function Config (storage) {
} catch (exception) {
/* Do nothing. */
}
this.exists = function (key) {
return this.items[key] !== undefined
}

@ -17,7 +17,6 @@ export const enablePersonalModeText = ' Enable Personal Mode for web3 provider.
export const matomoAnalytics = 'Enable Matomo Analytics. We do not collect personally identifiable information (PII). The info is used to improve the site’s UX & UI. See more about '
export const swarmSettingsTitle = 'Swarm Settings'
export const swarmSettingsText = 'Swarm Settings'
export const localStorageTitle = 'Restore Default Settings'
export const labels = {
'gist': {
'link': gitAccessTokenLink,

@ -1,7 +1,7 @@
import React, { useState, useReducer, useEffect, useCallback } from 'react' // eslint-disable-line
import { CopyToClipboard } from '@remix-ui/clipboard' // eslint-disable-line
import { enablePersonalModeText, ethereunVMText, labels, generateContractMetadataText, matomoAnalytics, textDark, textSecondary, warnText, wordWrapText, swarmSettingsTitle, localStorageTitle } from './constants'
import { enablePersonalModeText, ethereunVMText, labels, generateContractMetadataText, matomoAnalytics, textDark, textSecondary, warnText, wordWrapText, swarmSettingsTitle } from './constants'
import './remix-ui-settings.css'
import { ethereumVM, generateContractMetadat, personal, textWrapEventAction, useMatomoAnalytics, saveTokenToast, removeTokenToast, saveSwarmSettingsToast } from './settingsAction'

Loading…
Cancel
Save