create-skybridge 0.0.0-dev.3f9bbcc → 0.0.0-dev.3fa22d3
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/package.json
CHANGED
package/template/package.json
CHANGED
|
@@ -33,7 +33,7 @@ export default function ToolOutput() {
|
|
|
33
33
|
<DocLink href="https://docs.skybridge.tech/api-reference/use-tool-info">
|
|
34
34
|
useToolInfo
|
|
35
35
|
</DocLink>{" "}
|
|
36
|
-
to
|
|
36
|
+
to hydrates the view with tool input, output and metadata.
|
|
37
37
|
</Doc>
|
|
38
38
|
</>
|
|
39
39
|
);
|
|
@@ -51,8 +51,8 @@ export function useMascot() {
|
|
|
51
51
|
hat,
|
|
52
52
|
changeHat: () => {
|
|
53
53
|
setState((prev) => {
|
|
54
|
-
const
|
|
55
|
-
const next =
|
|
54
|
+
const others = LABELS.filter((l) => l !== prev.hat);
|
|
55
|
+
const next = others[Math.floor(Math.random() * others.length)];
|
|
56
56
|
return { ...prev, hat: next };
|
|
57
57
|
});
|
|
58
58
|
},
|