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

Fix src/components/referenceInput/index.css file, variables doesn't exist #1460

Closed
osvaldovega opened this issue Nov 7, 2018 · 1 comment
Assignees

Comments

@osvaldovega
Copy link
Contributor

Every time the app starts, there are 2 warning messages that show up saying this.

WARNING in ./node_modules/css-loader??ref--6-3!./node_modules/postcss-loader/lib??postcss!./src/components/referenceInput/index.css
(Emitted value instead of an instance of Error) postcss-custom-properties: /Users/ovega/Desktop/lisk-hub/src/components/referenceInput/index.css:5:5: variable '--search-box-line-height' is undefined and used without a fallback
 @ ./src/components/referenceInput/index.css 4:14-149 18:2-22:4 19:20-155
 @ ./src/components/referenceInput/index.js
 @ ./src/components/request/specifyRequest.js
 @ ./src/components/send/index.js
 @ ./src/components/transactionDashboard/index.js
 @ ./src/constants/routes.js
 @ ./src/components/app/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?https://0.0.0.0:8080 webpack/hot/dev-server ./src/main.js

WARNING in ./node_modules/css-loader??ref--6-3!./node_modules/postcss-loader/lib??postcss!./src/components/referenceInput/index.css
(Emitted value instead of an instance of Error) postcss-custom-properties: /Users/ovega/Desktop/lisk-hub/src/components/referenceInput/index.css:6:5: variable '--search-box-font-size' is undefined and used without a fallback
 @ ./src/components/referenceInput/index.css 4:14-149 18:2-22:4 19:20-155
 @ ./src/components/referenceInput/index.js
 @ ./src/components/request/specifyRequest.js
 @ ./src/components/send/index.js
 @ ./src/components/transactionDashboard/index.js
 @ ./src/constants/routes.js
 @ ./src/components/app/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?https://0.0.0.0:8080 webpack/hot/dev-server ./src/main.js

Steps to reproduce

  1. run lisk hub with the command.
 npm run dev
  1. check the terminal and scroll up to find the 2 warning messages.

Actual result

Looks like nothing happens in the UI except that the values set for those variables are empty.

Expected result

The variables in the css file exists with the correct value and confirm that the component has the values.

@welcome
Copy link

welcome bot commented Nov 7, 2018

Thanks for opening your first issue here! Be sure to follow the issue template for bug report or feature request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants