Skip to content

Commit

Permalink
fix: add tips widget to BlockRegistry (#1960)
Browse files Browse the repository at this point in the history
A recent refactor introduced the BlockRegistry to add different types of
widgets. This was missing the tips widget, so it has been added to
correct that.
  • Loading branch information
oneirocosm authored Feb 14, 2025
1 parent 66249a0 commit 4978ea4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/app/block/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import { WebViewModel } from "@/view/webview/webview";
import clsx from "clsx";
import { atom, useAtomValue } from "jotai";
import { memo, Suspense, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
import { QuickTipsViewModel } from "../view/quicktipsview/quicktipsview";
import "./block.scss";
import { BlockFrame } from "./blockframe";
import { blockViewToIcon, blockViewToName } from "./blockutil";
Expand All @@ -44,6 +45,7 @@ BlockRegistry.set("waveai", WaveAiModel);
BlockRegistry.set("cpuplot", SysinfoViewModel);
BlockRegistry.set("sysinfo", SysinfoViewModel);
BlockRegistry.set("vdom", VDomModel);
BlockRegistry.set("tips", QuickTipsViewModel);
BlockRegistry.set("help", HelpViewModel);
BlockRegistry.set("launcher", LauncherViewModel);

Expand Down

0 comments on commit 4978ea4

Please sign in to comment.