Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusx1211 committed Nov 8, 2023
1 parent 47288c4 commit 48d7152
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
publish_dir: dist
4 changes: 2 additions & 2 deletions src/components/PINCodeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const PINCodeInput = (props: PINCodeInputProps) => {
}
}

const handlePaste = (idx: number, ev: React.ClipboardEvent<HTMLInputElement>) => {
const handlePaste = (_: number, ev: React.ClipboardEvent<HTMLInputElement>) => {
const pasted = ev.clipboardData.getData('text/plain')
const filtered = pasted.replace(/\D/g, '')

Expand Down Expand Up @@ -114,4 +114,4 @@ export const PINCodeInput = (props: PINCodeInputProps) => {
)
}

const range = (start: number, end: number) => Array.from({ length: end - start }, (v, k) => k + start)
const range = (start: number, end: number) => Array.from({ length: end - start }, (_, k) => k + start)
2 changes: 1 addition & 1 deletion src/components/views/ListSessionsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Sessions } from "@0xsequence/waas"

export function ListSessionsView() {
const [sessions, setSessions] = useState<Sessions>()
const [thisSession, setThisSession] = useState<string>()
const [_, setThisSession] = useState<string>()
const [loading, setLoading] = useState<boolean>(true)

const [getSessionsError, setGetSessionsError] = useState<string>()
Expand Down

0 comments on commit 48d7152

Please sign in to comment.