mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 00:38:49 +01:00
Remove unused code
This commit is contained in:
parent
89d7015d62
commit
7fd66a19db
2 changed files with 0 additions and 5 deletions
|
@ -68,7 +68,6 @@ function Drafts() {
|
|||
<ul class="drafts-list">
|
||||
{drafts.map((draft) => {
|
||||
const { updatedAt, key, draftStatus, replyTo } = draft;
|
||||
const currentYear = new Date().getFullYear();
|
||||
const updatedAtDate = new Date(updatedAt);
|
||||
return (
|
||||
<li key={updatedAt}>
|
||||
|
|
|
@ -190,8 +190,6 @@ function Status({
|
|||
|
||||
const [showEdited, setShowEdited] = useState(false);
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
|
||||
const spoilerContentRef = useRef(null);
|
||||
useResizeObserver({
|
||||
ref: spoilerContentRef,
|
||||
|
@ -1230,8 +1228,6 @@ function EditedAtModal({
|
|||
})();
|
||||
}, []);
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
|
||||
return (
|
||||
<div id="edit-history" class="sheet">
|
||||
<header>
|
||||
|
|
Loading…
Reference in a new issue