Skip to content

Commit

Permalink
fix: View mode canvas margin
Browse files Browse the repository at this point in the history
  • Loading branch information
hetunandu committed Aug 12, 2024
1 parent 5494e8e commit 9778e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/pages/AppViewer/AppPage/AppPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function AppPage(props: AppPageProps) {
}, [isAnvilLayout, canvasWidth]);

const pageViewWrapperRef = useRef<HTMLDivElement>(null);
useCanvasWidthAutoResize({ ref: pageViewWrapperRef, sidebarWidth });
useCanvasWidthAutoResize({ ref: pageViewWrapperRef });

useEffect(() => {
AnalyticsUtil.logEvent("PAGE_LOAD", {
Expand Down

0 comments on commit 9778e83

Please sign in to comment.