chore: revert sidebar updates

This commit is contained in:
Steven
2022-10-13 08:05:59 +08:00
parent 37cd841992
commit ffe145d436
5 changed files with 3 additions and 12 deletions

View File

@ -134,8 +134,3 @@ export const parseHTMLToRawText = (htmlStr: string): string => {
const text = tempEl.innerText;
return text;
};
export function closeSidebar() {
const sidebarEl = document.body.querySelector(".sidebar-wrapper") as HTMLDivElement;
sidebarEl.style.display = "none";
}