fix storage bug

This commit is contained in:
Gabe Yuan
2023-08-19 13:48:03 +08:00
parent 2773a76af8
commit c2fd1fe9e0
2 changed files with 8 additions and 11 deletions

View File

@@ -6,7 +6,6 @@ import {
EVENT_KISS,
MSG_TRANS_CURRULE,
} from "../config";
import { StoragesProvider } from "../hooks/Storage";
import { queryEls } from ".";
import Content from "../views/Content";
import { fetchUpdate, fetchClear } from "./fetch";
@@ -144,10 +143,6 @@ export class Translator {
"-webkit-line-clamp: unset; max-height: none; height: auto;";
const root = createRoot(span);
root.render(
<StoragesProvider>
<Content q={q} translator={this} />
</StoragesProvider>
);
root.render(<Content q={q} translator={this} />);
};
}