Skip to content

Commit

Permalink
Merge pull request #607 from SUI-Components/use-controlled-state
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 committed Aug 2, 2023
2 parents 964c7b6 + f21dbf0 commit 8251f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions components/react/hooks/src/useControlledState/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {useCallback, useLayoutEffect, useState} from 'react'

import useMountedState from '../useMountedState'
import {useCallback, useState} from 'react'

/**
* React hook for combine the state of a value prop and its default value
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@
"stylelint": {
"extends": "./node_modules/@s-ui/lint/stylelint.config.js"
}
}
}

0 comments on commit 8251f2f

Please sign in to comment.