Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename index.module.scss due to create-react-app 4 bug #129

Merged
merged 1 commit into from
Mar 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 38 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/alert/Alert.module.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import 'index.scss';
@import 'index.module.scss';

2 changes: 1 addition & 1 deletion src/components/button/Button.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Button {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/copy/Copy.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Copy {
.icon {
Expand Down
2 changes: 1 addition & 1 deletion src/components/gaspicker/GasPicker.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.GasPicker {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/info/Info.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Info {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/Input.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Input {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputselect/InputSelect.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.selectContainer {
height: 46px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/mobileheader/MobileHeader.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.MobileHeader {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/mobilemenu/MobileMenu.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.menu {
background-color: $gray1;
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
Fade
} from '@material-ui/core';

import { gray6, gray3, gray1 } from 'index.scss';
import { gray6, gray3, gray1 } from 'index.module.scss';

const useStyles = makeStyles({
modal: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/pager/Pager.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Pager {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/select/Select.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Select {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/Tabs.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Tabs {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/transaction/Transaction.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Transaction {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/walletpicker/WalletPicker.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.WalletPicker {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/account/Account.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Account {
margin-bottom: 20px;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/app/App.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.App {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/home/Home.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Home {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/modals/deposit/DepositModal.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.buttons {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/modals/exit/ExitModal.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.buttons {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/modals/ledger/LedgerConnect.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.buttons {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/modals/ledger/LedgerPrompt.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.buttons {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/modals/merge/MergeModal.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.buttons {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.buttons {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/modals/transfer/TransferModal.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.disclaimer {
font-family: 'Messina';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.WrongNetworkModal {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/status/Status.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.Status {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/transactions/Transactions.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'index.scss';
@import 'index.module.scss';

.container {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import store from 'store';

import App from 'containers/app/App';

import './index.scss';
// Renamed due to https://github.com/facebook/create-react-app/issues/10047
import './index.module.scss';

if (config.gtmId) {
TagManager.initialize({ gtmId: config.gtmId });
Expand Down
File renamed without changes.