Skip to content

Commit

Permalink
fix: leastDestructiveRef
Browse files Browse the repository at this point in the history
  • Loading branch information
hcavarsan committed Dec 8, 2023
1 parent 0da37f5 commit f389dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri + React + TS</title>
<script type="module" crossorigin src="/assets/index-a8e01424.js"></script>
<script type="module" crossorigin src="/assets/index-fb043f04.js"></script>
<link rel="stylesheet" href="/assets/index-7cb5edcd.css">
</head>

Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const App: React.FC = () => {
const { name, value } = e.target
setNewConfig((prev) => ({ ...prev, [name]: value }))
}
const cancelRef = React.useRef();
const cancelRef = React.useRef<HTMLElement>(null);
const [isInitiating, setIsInitiating] = useState(false)
const [isStopping, setIsStopping] = useState(false)
const [isPortForwarding, setIsPortForwarding] = useState(false)
Expand Down

0 comments on commit f389dbe

Please sign in to comment.