Skip to content

Commit

Permalink
fix: minor issues in code
Browse files Browse the repository at this point in the history
  • Loading branch information
HerringtonDarkholme committed Feb 11, 2024
1 parent f584d48 commit 93b55b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function activate() {
await editor.edit(builder => {
builder.setEndOfLine(vscode.EndOfLine.LF)
})
await sleep(2000) // Wait for server activation
await sleep(1000) // Wait for server activation
} catch (e) {
console.error(e)
}
Expand Down
2 changes: 1 addition & 1 deletion src/webview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const App = () => {
return <SearchSidebar />
}

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
const root = ReactDOM.createRoot(document.getElementById('root')!)
root.render(<App />)

0 comments on commit 93b55b4

Please sign in to comment.