mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-11-22 11:56:21 +03:00
fix: delete unused placeholder
This commit is contained in:
parent
fda90ed0bd
commit
fe99eda7a4
2 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
||||||
import ReactMarkdown from "react-markdown";
|
import ReactMarkdown from "react-markdown";
|
||||||
import NotePlaceholder from "../components/notePlaceholder";
|
|
||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
import { useParams } from "react-router-dom";
|
import { useParams } from "react-router-dom";
|
||||||
import printDate from "../components/utils";
|
import printDate from "../components/utils";
|
||||||
|
@ -41,9 +40,9 @@ function Note() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
return <div />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <NotePlaceholder />;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Note;
|
export default Note;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import NotePlaceholder from "../components/notePlaceholder";
|
|
||||||
|
|
||||||
function uuidv4() {
|
function uuidv4() {
|
||||||
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>
|
||||||
|
@ -37,7 +36,7 @@ function Save() {
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return <NotePlaceholder />;
|
return <div />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Save;
|
export default Save;
|
||||||
|
|
Loading…
Add table
Reference in a new issue