Skip to content

Commit

Permalink
⚡️ Clients和Menu取消keppMounted
Browse files Browse the repository at this point in the history
  • Loading branch information
neila-a committed Jun 7, 2024
1 parent 177f450 commit 04177d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@verkfi/core",
"version": "1.7.2",
"devVersion": "959",
"devVersion": "960",
"dev": true,
"description": "Platform for Neila's something useless tools.",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/app/layout/Clients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function Clients() {
maxWidth: "unset"
},
zIndex: "38601"
}} open={control} keepMounted TransitionComponent={Transition}>
}} open={control} TransitionComponent={Transition}>
<DialogTitle sx={{
m: 0,
p: 0,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/app/layout/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function Menu() {
maxWidth: "unset"
},
zIndex: "38601"
}} open={control} keepMounted TransitionComponent={Transition}>
}} open={control} TransitionComponent={Transition}>
<DialogTitle sx={{
m: 0,
p: 0,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/service-worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import pages from "../pages.json";
import onFetch from "./onFetch";
import onMessage from "./onMessage";
declare const self: ServiceWorkerGlobalScope;
export const Cache = `Verkfi-${version}-${dev === true ? `dev${devVersion}` : "prod"}`,
export const Cache = `Verkfi-${version}-${dev ? `dev${devVersion}` : "prod"}`,
log = (text: string) => console.log(`%cServiceWorker`, `background: #52c41a;border-radius: 0.5em;color: white;font-weight: bold;padding: 2px 0.5em`, text);
log(`版本为${Cache}`);
self.addEventListener("install", async event => event.waitUntil((async () => {
Expand Down

0 comments on commit 04177d6

Please sign in to comment.