improve: minor change in main/side nav css
This commit is contained in:
@@ -8,7 +8,7 @@ const SideNavigation = () => {
|
||||
const {data: paths, isLoading, error } = usePaths(1);
|
||||
const deletePath = useDeletePath();
|
||||
const updatePath = useUpdatePath();
|
||||
|
||||
const [searchTerm, setSearchTerm] = React.useState("");
|
||||
const sortedPaths = paths
|
||||
? paths.slice().sort((a, b) => a.order.localeCompare(b.order))
|
||||
: [];
|
||||
@@ -39,7 +39,7 @@ const SideNavigation = () => {
|
||||
|
||||
return (
|
||||
<aside className="menu">
|
||||
<p className="menu-label">Markdown Directory</p>
|
||||
<p className="menu-label">---</p>
|
||||
<PermissionGuard rolesRequired={["admin", "creator"]}>
|
||||
<a
|
||||
href="/markdown/create"
|
||||
|
||||
Reference in New Issue
Block a user