diff --git a/packages/app/src/EditorLayout/AllDocsBox/AllDocsTable.tsx b/packages/app/src/EditorLayout/AllDocsBox/AllDocsTable.tsx
index b0a35874..49d08bf3 100644
--- a/packages/app/src/EditorLayout/AllDocsBox/AllDocsTable.tsx
+++ b/packages/app/src/EditorLayout/AllDocsBox/AllDocsTable.tsx
@@ -2,6 +2,7 @@ import { Box } from '@fower/react'
import { Trash2 } from 'lucide-react'
import { Button, ColumnsType, Table } from 'uikit'
import { Doc, DocService } from '@penx/domain'
+import { store } from '@penx/store'
interface Props {
docs: Doc[]
@@ -44,7 +45,16 @@ export const AllDocsTable = ({ docs }: Props) => {
render(_, item) {
return (
-
diff --git a/packages/app/src/EditorLayout/DocNav/FavoriteButton.tsx b/packages/app/src/EditorLayout/DocNav/FavoriteButton.tsx
index 1b3956d9..974577cc 100644
--- a/packages/app/src/EditorLayout/DocNav/FavoriteButton.tsx
+++ b/packages/app/src/EditorLayout/DocNav/FavoriteButton.tsx
@@ -6,7 +6,7 @@ import { useDoc } from '@penx/hooks'
interface Props {}
export const FavoriteButton: FC> = () => {
- const { doc, docService } = useDoc()
+ const { docService } = useDoc()
const isFavorite = docService.isFavorite()
return (
{