Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
❤️ Testing the test 😍
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodinh committed Mar 17, 2020
1 parent 5399ef1 commit 0ba80ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contribute
## CSS linter
- https://stackoverflow.com/questions/47607602/how-to-add-a-tailwind-css-rule-to-css-checker/48165524#48165524
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<img src="https://user-images.githubusercontent.com/7486270/75887356-f8428300-5e29-11ea-8844-8b69d5289ffa.jpg" />

# lifeinaweb

## Contribute
### CSS linter
- https://stackoverflow.com/questions/47607602/how-to-add-a-tailwind-css-rule-to-css-checker/48165524#48165524
3 changes: 2 additions & 1 deletion components/SelectUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { useStoreState, useStoreActions } from 'easy-peasy'

const SelectUnit = () => {
const { units } = useStoreState(state => state.settings)
const { unit, units } = useStoreState(state => state.settings)
const { updateUnit } = useStoreActions(actions => actions.settings)

const handleChange = event => {
Expand All @@ -16,6 +16,7 @@ const SelectUnit = () => {
return (
<div className='inline-block relative w-64'>
<select
defaultValue={unit}
onChange={handleChange}
className='block appearance-none w-full bg-white border border-gray-400 hover:border-gray-500 px-4 py-2 pr-8 rounded shadow leading-tight focus:outline-none focus:shadow-outline'
>
Expand Down

0 comments on commit 0ba80ab

Please sign in to comment.