fix: delete unused placeholder

This commit is contained in:
Artemy 2022-10-20 21:54:15 +03:00
parent fda90ed0bd
commit fe99eda7a4
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,4 @@
import ReactMarkdown from "react-markdown";
import NotePlaceholder from "../components/notePlaceholder";
import { useState, useEffect } from "react";
import { useParams } from "react-router-dom";
import printDate from "../components/utils";
@ -41,9 +40,9 @@ function Note() {
</div>
</div>
);
} else {
return <div />;
}
return <NotePlaceholder />;
}
export default Note;

View file

@ -1,6 +1,5 @@
import { useEffect } from "react";
import { useNavigate } from "react-router-dom";
import NotePlaceholder from "../components/notePlaceholder";
function uuidv4() {
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>
@ -37,7 +36,7 @@ function Save() {
}
}, []);
return <NotePlaceholder />;
return <div />;
}
export default Save;