diff --git a/src/components/BookmarkButton/BookmarkButton.tsx b/src/components/BookmarkButton/BookmarkButton.tsx index 8961a228..86be06c9 100644 --- a/src/components/BookmarkButton/BookmarkButton.tsx +++ b/src/components/BookmarkButton/BookmarkButton.tsx @@ -1,4 +1,4 @@ -import React, {useState} from 'react'; +import React from 'react'; import block from 'bem-cn-lite'; import {Button} from '../Button'; @@ -20,19 +20,16 @@ export const BookmarkButton: React.FC = ({ bookmarkedPage, onChangeBookmarkPage, }) => { - const [pinnedPage, setPinnedPage] = useState(bookmarkedPage); - return ( ); };