Skip to content

Commit b5f93ae

Browse files
committed
fix(utils): useIsUserInteractionMode get mode via context
Closes #1322
1 parent 4bb25fb commit b5f93ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/mode/UserInteractionModeListener.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function useUserInteractionMode(): UserInteractionMode {
4545
* mode.
4646
*/
4747
export function useIsUserInteractionMode(mode: UserInteractionMode): boolean {
48-
return useInteractionMode() === mode;
48+
return useUserInteractionMode() === mode;
4949
}
5050

5151
export interface UserInteractionModeListenerProps {

0 commit comments

Comments
 (0)