@@ -9,7 +9,7 @@ import { useSearchParam } from "react-use";
9
9
import sflow , { sf } from "sflow" ;
10
10
import useSWR from "swr" ;
11
11
import TimeAgo from "timeago-react" ;
12
- import useManifestPWA from "use-manifest-pwa" ;
12
+ // import useManifestPWA from "use-manifest-pwa";
13
13
import { useSnapshot } from "valtio" ;
14
14
import { persistState } from "./persistState" ;
15
15
import { readWorkflowInfo , setWorkflowInfo } from "./utils/exif" ;
@@ -18,23 +18,24 @@ import { readWorkflowInfo, setWorkflowInfo } from "./utils/exif";
18
18
* @author snomiao <[email protected] > 2024
19
19
*/
20
20
export default function Home ( ) {
21
- useManifestPWA ( {
22
- icons : [
23
- {
24
- src : "/favicon.png" ,
25
- sizes : "192x192" ,
26
- type : "image/png" ,
27
- } ,
28
- {
29
- src : "/favicon.png" ,
30
- sizes : "512x512" ,
31
- type : "image/png" ,
32
- } ,
33
- ] ,
34
- name : "ComfyUI Embedded Workflow Editor" ,
35
- short_name : "CWE" ,
36
- start_url : globalThis . window ?. location . origin ?? "/" ,
37
- } ) ;
21
+ // todo: enable this in another PR
22
+ // useManifestPWA({
23
+ // icons: [
24
+ // {
25
+ // src: "/favicon.png",
26
+ // sizes: "192x192",
27
+ // type: "image/png",
28
+ // },
29
+ // {
30
+ // src: "/favicon.png",
31
+ // sizes: "512x512",
32
+ // type: "image/png",
33
+ // },
34
+ // ],
35
+ // name: "ComfyUI Embedded Workflow Editor",
36
+ // short_name: "CWE",
37
+ // start_url: globalThis.window?.location.origin ?? "/",
38
+ // });
38
39
39
40
const snap = useSnapshot ( persistState ) ;
40
41
const snapSync = useSnapshot ( persistState , { sync : true } ) ;
0 commit comments