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

Commit

Permalink
feat: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro Soares authored and SoaresMG committed May 20, 2021
1 parent 6a6b617 commit 60e0c98
Show file tree
Hide file tree
Showing 5 changed files with 2,966 additions and 3,544 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
- beta

jobs:
load-modules:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- beta

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branches": ["master"],
"branches": ["master", {"name": "beta", "prerelease": true}],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
Expand Down
5 changes: 2 additions & 3 deletions src/ResponsiveProvider/useOrientation.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { useEffect, useState } from 'react';

const useOrientation = (defaultOrientation) => {
const [currentOrientation, setCurrentOrientation] = useState(
defaultOrientation
);
const [currentOrientation, setCurrentOrientation] =
useState(defaultOrientation);

useEffect(() => {
const setMatchedOrientation = (matches) => {
Expand Down

0 comments on commit 60e0c98

Please sign in to comment.