@bbki.ng/site 1.2.19 → 1.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 1.2.21
4
+
5
+ ## 1.2.20
6
+
3
7
  ## 1.2.19
4
8
 
5
9
  ## 1.2.18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/bbbottle/bbki.ng.git"
17
17
  },
18
18
  "dependencies": {
19
- "@bbki.ng/components": "workspace:2.2.4",
19
+ "@bbki.ng/components": "workspace:2.2.5",
20
20
  "@supabase/supabase-js": "^1.30.6",
21
21
  "classnames": "2.3.1",
22
22
  "react": "^18.0.0",
@@ -21,17 +21,13 @@ export const ReloadPrompt = () => {
21
21
 
22
22
  if ("connection" in navigator && !navigator.onLine) return;
23
23
 
24
- const resp = await fetch(swScriptUrl, {
24
+ await fetch(swScriptUrl, {
25
25
  cache: "no-store",
26
26
  headers: {
27
27
  cache: "no-store",
28
28
  "cache-control": "no-cache",
29
29
  },
30
30
  });
31
-
32
- if (resp?.status === 200) {
33
- await r.update();
34
- }
35
31
  }, intervalMS);
36
32
  },
37
33
  onOfflineReady() {
@@ -18,7 +18,7 @@ export const Cover = (props: { className: string }) => {
18
18
  name: "cd ./now",
19
19
  },
20
20
  ]}
21
- title=" "
21
+ title=""
22
22
  />
23
23
  );
24
24
  };
@@ -14,7 +14,7 @@ const Projects = () => {
14
14
  name: p.name,
15
15
  }));
16
16
 
17
- return <CenterLinkList links={links} title=" " />;
17
+ return <CenterLinkList links={links} />;
18
18
  };
19
19
 
20
20
  export default () => {
@@ -19,14 +19,12 @@ const Posts = (props: TxtProps) => {
19
19
  }
20
20
 
21
21
  if (isError) {
22
- return (
23
- <CenterLinkList links={props.articleList || ArticleList} title=" " />
24
- );
22
+ return <CenterLinkList links={props.articleList || ArticleList} />;
25
23
  }
26
24
 
27
25
  const links = [...titleList, ...ArticleList];
28
26
 
29
- return <CenterLinkList links={props.articleList || links} title=" " />;
27
+ return <CenterLinkList links={props.articleList || links} />;
30
28
  };
31
29
 
32
30
  export default (props: TxtProps) => {