Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzkirstein committed Sep 28, 2023
1 parent f6e268f commit f5295dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header/UserPreferences/Automation/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export default function Details({
<Button
onClick={async () => {
const password = prompt('Password:')
// @ts-ignore
const filename = document.getElementById('walletImport').files[0]
const filename = (document.getElementById('walletImport') as any)
.files[0]
const reader = new FileReader()
reader.readAsText(filename)
reader.onload = async (event) => {
Expand Down

0 comments on commit f5295dd

Please sign in to comment.