Skip to content

Commit

Permalink
fix share page document path loading
Browse files Browse the repository at this point in the history
  • Loading branch information
nikgraf committed Mar 21, 2024
1 parent cb058a1 commit 8539453
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/app/store/documentStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export const getLocalDocumentName = ({
documentId: string;
}) => {
const document = getLocalDocument({ documentId });
return document && document.name ? document.name : "loading…";
// by default an empty string to now show loading on the SharePage
return document && document.name ? document.name : "";
};

const getLocalDocumentNameListeners: {
Expand Down

0 comments on commit 8539453

Please sign in to comment.