Skip to content

Commit

Permalink
Merge pull request #313 from opeolluwa/dev
Browse files Browse the repository at this point in the history
release: app v-0.7.5
  • Loading branch information
opeolluwa authored May 14, 2024
2 parents 0580fa4 + 4429a5e commit 03d8f55
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions desktop/core/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "filesync",
"version": "0.7.3"
"version": "0.7.5"
},
"tauri": {
"allowlist": {
Expand Down Expand Up @@ -75,7 +75,7 @@
"windows": [
{
"fullscreen": false,
"resizable": false,
"resizable": true,
"title": "FileSync",
"width": 1000,
"height": 800,
Expand Down
14 changes: 7 additions & 7 deletions desktop/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ export default function Main() {
// refresh the application
async function refresh() {
await relaunch()
.then(() => {
console.log("refreshed");
})
.catch((error) => {
console.log(error.message);
});
// .then(() => {
// console.log("refreshed");
// })
// .catch((error) => {
// console.log(error.message);
// });
}

useEffect(() => {
Expand Down Expand Up @@ -146,7 +146,7 @@ export default function Main() {
<div className="flex gap-5">
<button
className=" bg-app text-white px-4 py-1 rounded w-24 "
onClick={refresh}
onClick={relaunch}
>
Refresh
</button>
Expand Down

0 comments on commit 03d8f55

Please sign in to comment.