Skip to content

Commit

Permalink
🎉 feat: release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Sep 7, 2021
1 parent 4c235ad commit 08748c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@casper124578/useful",
"version": "1.3.0",
"version": "1.3.1",
"description": "List of useful React functions and hooks",
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTabFocus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as React from "react";
* @returns whether the user is focused on the tab
*/
export function useTabFocus(): boolean {
const [inFocus, setInFocus] = React.useState(false);
const [inFocus, setInFocus] = React.useState(true);

React.useEffect(() => {
const handler = () => {
Expand Down

0 comments on commit 08748c6

Please sign in to comment.