Skip to content

Commit

Permalink
🐛 修复install页错误
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Dec 4, 2022
1 parent 4b286a9 commit fda9de8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scriptcat",
"version": "0.11.0-beta.1",
"version": "0.11.0-beta.2",
"description": "脚本猫,一个可以执行用户脚本的浏览器扩展,万物皆可脚本化,让你的浏览器可以做更多的事情!",
"author": "CodFrm",
"license": "GPLv3",
Expand Down
3 changes: 2 additions & 1 deletion src/pages/install/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import IoC from "@App/app/ioc";
import DBWriter from "@App/app/logger/db_writer";
import { LoggerDAO } from "@App/app/repo/logger";
import LoggerCore from "@App/app/logger/core";
import { MessageHander } from "@App/app/message/message";
import MainLayout from "../components/layout/MainLayout";
import App from "./App";

Expand All @@ -26,7 +27,7 @@ loggerCore.logger().debug("install start");

const con = new MessageInternal("install");

IoC.registerInstance(MessageInternal, con);
IoC.registerInstance(MessageInternal, con).alias(MessageHander);

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<div>
Expand Down

0 comments on commit fda9de8

Please sign in to comment.