Skip to content

Commit

Permalink
perf: ⚡️ 操作台增加版本显示
Browse files Browse the repository at this point in the history
closes: #285
  • Loading branch information
meetqy committed Jul 4, 2023
1 parent 012fcb2 commit 22eb69a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/electron/renderer/src/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ function Home() {
const removeLibrary = trpc.library.remove.useMutation();
const updateLibrary = trpc.library.update.useMutation();

window.app.getVersion().then((res) => {
document.title = `Rao Pics - v${res}`;
});

const isInit = useRef<boolean>(false);

// active id
Expand Down

0 comments on commit 22eb69a

Please sign in to comment.