Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Apr 25, 2023
1 parent 75bec05 commit 6a8f3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/hooks/useMemoWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const useMemoWindow = (props: WindowMemoProps) => {
if (props.position) {
const storagePosition = localStorage.getItem('_position')
if (storagePosition) {
let { x, y } = JSON.parse(storagePosition)
const { x, y } = JSON.parse(storagePosition)
if (x < 0 || y < 0) {
await appWindow.center()
} else {
Expand Down

0 comments on commit 6a8f3a8

Please sign in to comment.