Skip to content

Commit

Permalink
fix sentry crash
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3orblade committed Jan 17, 2025
1 parent 80bd8f7 commit 7a9ec66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/component/menu/publish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const MenuPublish = forwardRef<I.MenuRef, I.Menu>((props, ref) => {
const onPublish = () => {
publishRef.current.setLoading(true);

C.PublishingCreate(S.Common.space, rootId, url, joinRef.current.getValue(), (message: any) => {
C.PublishingCreate(S.Common.space, rootId, url, joinRef.current?.getValue(), (message: any) => {
publishRef.current.setLoading(false);

if (message.error.code) {
Expand Down

0 comments on commit 7a9ec66

Please sign in to comment.