Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 4cbd67d

Browse files
Leandro SoaresSoaresMG
Leandro Soares
authored andcommitted
feat: update packages
1 parent 6a6b617 commit 4cbd67d

File tree

5 files changed

+2966
-3544
lines changed

5 files changed

+2966
-3544
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- master
7+
- beta
78

89
jobs:
910
load-modules:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- beta
78

89
jobs:
910
release:

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"branches": ["master"],
2+
"branches": ["master", {"name": "beta", "prerelease": true}],
33
"plugins": [
44
["@semantic-release/commit-analyzer", {
55
"preset": "conventionalcommits",

src/ResponsiveProvider/useOrientation.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { useEffect, useState } from 'react';
22

33
const useOrientation = (defaultOrientation) => {
4-
const [currentOrientation, setCurrentOrientation] = useState(
5-
defaultOrientation
6-
);
4+
const [currentOrientation, setCurrentOrientation] =
5+
useState(defaultOrientation);
76

87
useEffect(() => {
98
const setMatchedOrientation = (matches) => {

0 commit comments

Comments
 (0)