Skip to content

Commit

Permalink
chore: update fresh to v1.6.3 (#1173)
Browse files Browse the repository at this point in the history
* chore: update fresh to v1.6.3

* fix: type
  • Loading branch information
mya-ake authored Jan 30, 2024
1 parent e5152d6 commit eba678c
Show file tree
Hide file tree
Showing 4 changed files with 341 additions and 352 deletions.
10 changes: 2 additions & 8 deletions core/ui/create_action_component.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
import {
Attributes,
ClassAttributes,
ComponentChildren,
createElement,
VNode,
} from "preact";
import { Attributes, ComponentChildren, createElement } from "preact";

type ElementType = "a" | "button";

export function createActionComponent(
type: ElementType,
props: Attributes,
children: ComponentChildren,
): VNode<(ClassAttributes<HTMLElement> & Attributes) | null> {
) {
const component = createElement(type, props, children);
// Provide some core functionality.

Expand Down
6 changes: 3 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"octokit": "https://cdn.skypack.dev/octokit@2.0.14?dts",
"hljs": "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/es/highlight.min.js",
"std/": "https://deno.land/std@0.213.0/",
"$fresh/": "https://deno.land/x/fresh@1.5.4/",
"$fresh/": "https://deno.land/x/fresh@1.6.3/",
"i18next": "https://deno.land/x/i18next@v22.4.15/index.js",
"resvg/": "https://deno.land/x/resvg_wasm@0.2.0/",
"zod": "https://deno.land/x/zod@v3.21.4/mod.ts",
Expand All @@ -36,8 +36,8 @@
"dayjs/": "https://esm.sh/v131/dayjs@1.11.7/",
"parse5": "https://esm.sh/v131/parse5@7.1.2",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2",
"preact": "https://esm.sh/preact@10.18.1",
"preact/": "https://esm.sh/preact@10.18.1/",
"preact": "https://esm.sh/preact@10.19.2",
"preact/": "https://esm.sh/preact@10.19.2/",
"satori": "npm:satori@0.8.0"
},
"scopes": {
Expand Down
Loading

0 comments on commit eba678c

Please sign in to comment.