mirror of
https://github.com/documenso/documenso.git
synced 2026-07-23 00:13:46 +10:00
fix: rebase
This commit is contained in:
@@ -16,7 +16,7 @@ export type DocumentDialogProps = {
|
||||
/**
|
||||
* A dialog which renders the provided document.
|
||||
*/
|
||||
export default function DocumentDialog({ trigger, documentData, ...props }: DocumentDialogProps) {
|
||||
export const DocumentDialog = ({ trigger, documentData, ...props }: DocumentDialogProps) => {
|
||||
const [documentLoaded, setDocumentLoaded] = useState(false);
|
||||
|
||||
const onDocumentLoad = () => {
|
||||
@@ -58,4 +58,4 @@ export default function DocumentDialog({ trigger, documentData, ...props }: Docu
|
||||
</DialogPortal>
|
||||
</Dialog>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user