Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix Uncaught Invariant Violation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Suguru Hirahara committed Jul 4, 2017
1 parent a44c689 commit 7a9562f
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion app/renderer/components/bookmarks/addEditBookmarkHanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Immutable = require('immutable')
// Components
const ReduxComponent = require('../reduxComponent')
const Dialog = require('../common/dialog')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')

// Actions
const appActions = require('../../../../js/actions/appActions')
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/bookmarks/bookmarksToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Immutable = require('immutable')

// Components
const ReduxComponent = require('../reduxComponent')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const BookmarkToolbarButton = require('./bookmarkToolbarButton')

// Actions
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/common/messageBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {StyleSheet, css} = require('aphrodite')
// Components
const ReduxComponent = require('../reduxComponent')
const Dialog = require('./dialog')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const SwitchControl = require('./switchControl')

// Actions
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/download/downloadsBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const React = require('react')
// Components
const ReduxComponent = require('../reduxComponent')
const Button = require('../common/button')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const DownloadItem = require('./downloadItem')

const {StyleSheet, css} = require('aphrodite/no-important')
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/main/braveryPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {StyleSheet, css} = require('aphrodite/no-important')
// Components
const ReduxComponent = require('../reduxComponent')
const Dialog = require('../common/dialog')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const SwitchControl = require('../common/switchControl')
const {BraveryPanelDropdown} = require('../common/dropdown')

Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/main/checkDefaultBrowserDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {StyleSheet, css} = require('aphrodite/no-important')
// Components
const ReduxComponent = require('../reduxComponent')
const Dialog = require('../common/dialog')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const SwitchControl = require('../common/switchControl')
const {
CommonFormMedium,
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/main/findbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Immutable = require('immutable')

// Components
const ReduxComponent = require('../reduxComponent')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const SwitchControl = require('../common/switchControl')

// Constants
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/main/noScriptInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const urlParse = require('../../../common/urlParse')
const ReduxComponent = require('../reduxComponent')
const ImmutableComponent = require('../immutableComponent')
const Dialog = require('../common/dialog')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')

// Actions
const appActions = require('../../../../js/actions/appActions')
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/main/notificationItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {StyleSheet, css} = require('aphrodite/no-important')

// Components
const ReduxComponent = require('../reduxComponent')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')

// Constants
const messages = require('../../../../js/constants/messages')
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/main/updateBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {StyleSheet, css} = require('aphrodite/no-important')
// Components
const ImmutableComponent = require('../immutableComponent')
const ReduxComponent = require('../reduxComponent')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')

// Actions
const appActions = require('../../../../js/actions/appActions')
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/navigation/browserAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Immutable = require('immutable')

// Components
const ReduxComponent = require('../reduxComponent')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const BrowserActionBadge = require('./browserActionBadge')

// State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {changeSetting} = require('../../../lib/settingsUtil')
const appConfig = require('../../../../../js/constants/appConfig')

// components
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')
const {SettingsList, SettingItem, SettingCheckbox} = require('../../common/settings')
const {SettingDropdown} = require('../../common/dropdown')
const ImmutableComponent = require('../../immutableComponent')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const React = require('react')
const {StyleSheet, css} = require('aphrodite/no-important')

// components
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')
const cx = require('../../../../../js/lib/classSet')
const ModalOverlay = require('../../common/modalOverlay')
const ImmutableComponent = require('../../immutableComponent')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const {changeSetting} = require('../../../lib/settingsUtil')

// components
const ImmutableComponent = require('../../immutableComponent')
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')
const {FormTextbox} = require('../../common/textbox')
const {FormDropdown} = require('../../common/dropdown')
const {SettingsList, SettingItem} = require('../../common/settings')
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/preferences/payment/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const {formattedTimeFromNow, formattedDateFromTimestamp} = require('../../../../
const appUrlUtil = require('../../../../../js/lib/appUrlUtil')

// components
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')
const ImmutableComponent = require('../../immutableComponent')

// style
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {StyleSheet, css} = require('aphrodite/no-important')

// components
const ImmutableComponent = require('../../immutableComponent')
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')

// style
const globalStyles = require('../../styles/global')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {btcToCurrencyString} = require('../../../../common/lib/ledgerUtil')

// components
const ImmutableComponent = require('../../immutableComponent')
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')
const {RecoveryKeyTextbox} = require('../../common/textbox')
const {SettingsList, SettingItem} = require('../../common/settings')

Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/preferences/payment/ledgerTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {StyleSheet, css} = require('aphrodite')
const ImmutableComponent = require('../../immutableComponent')
const SortableTable = require('../../common/sortableTable')
const SwitchControl = require('../../common/switchControl')
const BrowserButton = require('../../common/browserButton')
const {BrowserButton} = require('../../common/browserButton')
const PinnedInput = require('./pinnedInput')

// style
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/preferences/syncTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const niceware = require('niceware')

// Components
const ModalOverlay = require('../common/modalOverlay')
const BrowserButton = require('../common/browserButton')
const {BrowserButton} = require('../common/browserButton')
const {SettingsList, SettingItem, SettingCheckbox} = require('../common/settings')
const SortableTable = require('../common/sortableTable')

Expand Down
2 changes: 1 addition & 1 deletion js/about/certerror.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

const React = require('react')
const BrowserButton = require('../../app/renderer/components/common/browserButton')
const {BrowserButton} = require('../../app/renderer/components/common/browserButton')
const aboutActions = require('./aboutActions')
const messages = require('../constants/messages')
const ipc = window.chrome.ipcRenderer
Expand Down
2 changes: 1 addition & 1 deletion js/about/errorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

const React = require('react')
const BrowserButton = require('../../app/renderer/components/common/browserButton')
const {BrowserButton} = require('../../app/renderer/components/common/browserButton')

const appActions = require('../../js/actions/appActions')
const tabActions = require('../../app/common/actions/tabActions')
Expand Down
2 changes: 1 addition & 1 deletion js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const {SettingsList, SettingItem, SettingCheckbox, SettingItemIcon} = require('.
const {SettingTextbox} = require('../../app/renderer/components/common/textbox')
const {SettingDropdown} = require('../../app/renderer/components/common/dropdown')
const {DefaultSectionTitle} = require('../../app/renderer/components/common/sectionTitle')
const BrowserButton = require('../../app/renderer/components/common/browserButton')
const {BrowserButton} = require('../../app/renderer/components/common/browserButton')

// Tabs
const PaymentsTab = require('../../app/renderer/components/preferences/paymentsTab')
Expand Down
2 changes: 1 addition & 1 deletion js/about/safebrowsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

const React = require('react')
const BrowserButton = require('../../app/renderer/components/common/browserButton')
const {BrowserButton} = require('../../app/renderer/components/common/browserButton')

const {StyleSheet, css} = require('aphrodite/no-important')

Expand Down
2 changes: 1 addition & 1 deletion js/about/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require('../../node_modules/font-awesome/css/font-awesome.css')
const {Textbox, FormTextbox, SettingTextbox, RecoveryKeyTextbox} = require('../../app/renderer/components/common/textbox')
const {TextArea, DefaultTextArea} = require('../../app/renderer/components/common/textbox')
const {Dropdown, FormDropdown, SettingDropdown, BraveryPanelDropdown} = require('../../app/renderer/components/common/dropdown')
const BrowserButton = require('../../app/renderer/components/common/browserButton')
const {BrowserButton} = require('../../app/renderer/components/common/browserButton')

const {
SectionTitleWrapper,
Expand Down

0 comments on commit 7a9562f

Please sign in to comment.