Skip to content

Commit

Permalink
fix: hoverable without swc plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Feb 15, 2023
1 parent 4d5eeef commit cdb4a5d
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.23.5](https://github.com/nandorojo/moti/compare/v0.23.4...v0.23.5) (2023-02-14)

**Note:** Version bump only for package moti





## [0.23.4](https://github.com/nandorojo/moti/compare/v0.23.0...v0.23.4) (2023-02-14)

**Note:** Version bump only for package moti
Expand Down
8 changes: 8 additions & 0 deletions examples/with-expo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.23.5](https://github.com/nandorojo/moti/compare/v0.23.4...v0.23.5) (2023-02-14)

**Note:** Version bump only for package with-expo





## [0.23.4](https://github.com/nandorojo/moti/compare/v0.23.0...v0.23.4) (2023-02-14)

**Note:** Version bump only for package with-expo
Expand Down
2 changes: 1 addition & 1 deletion examples/with-expo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "with-expo",
"description": "Example app for moti",
"version": "0.23.4",
"version": "0.23.5",
"private": true,
"scripts": {
"android": "expo run:android",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"npmClient": "npm",
"useWorkspaces": true,
"version": "0.23.4",
"version": "0.23.5",
"command": {
"publish": {
"allowBranch": "master",
Expand Down
8 changes: 8 additions & 0 deletions packages/moti/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.23.5](https://github.com/nandorojo/moti/compare/v0.23.4...v0.23.5) (2023-02-14)

**Note:** Version bump only for package moti





## [0.23.4](https://github.com/nandorojo/moti/compare/v0.23.0...v0.23.4) (2023-02-14)

**Note:** Version bump only for package moti
Expand Down
2 changes: 1 addition & 1 deletion packages/moti/src/interactions/pressable/hoverable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function Hoverable({
}
}
},
[]
[isHovered, hoverIn, hoverOut]
)

const handleMouseEnter = useCallback(() => {
Expand Down

1 comment on commit cdb4a5d

@vercel
Copy link

@vercel vercel bot commented on cdb4a5d Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.