Skip to content

Commit

Permalink
fix: for changing width #58
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsJacobsen committed Feb 24, 2023
1 parent efcef21 commit 7234e6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/components/studio/hooks/useHandleLayoutChange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ export const useHandleLayoutChange = () => {
}, 100)
);

setTimeout(() => {
calculateLayout();
console.log("after third calculation", currentLayouts);
}, 200)

//update layout
if (site) {
setSite({
Expand Down

1 comment on commit 7234e6c

@vercel
Copy link

@vercel vercel bot commented on 7234e6c Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

backstage – ./

backstage-git-dev-stage.vercel.app
backstage-five.vercel.app
backstage-stage.vercel.app

Please sign in to comment.