Add phosphor icons and improve menus UI
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -23,6 +23,8 @@ import { useDebounceCallback } from "usehooks-ts";
|
||||
import type { DocumentDescriptionPage_updateContentMutation } from "#/__generated__/core/DocumentDescriptionPage_updateContentMutation.graphql";
|
||||
import type { DocumentDescriptionPageQuery } from "#/__generated__/core/DocumentDescriptionPageQuery.graphql";
|
||||
|
||||
const autoSaveIntervalMs = 1000;
|
||||
|
||||
export const documentDescriptionPageQuery = graphql`
|
||||
query DocumentDescriptionPageQuery($documentId: ID! $versionId: ID! $versionSpecified: Boolean!) {
|
||||
# We use this on /documents/:documentId/versions/:versionId/description
|
||||
@@ -113,7 +115,7 @@ export function DocumentDescriptionPage(props: { queryRef: PreloadedQuery<Docume
|
||||
},
|
||||
});
|
||||
}, [currentVersion.id, updateContent, toast, __]),
|
||||
500,
|
||||
autoSaveIntervalMs,
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user