Skip to content

Commit

Permalink
fix: create course and library button missing on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Jul 9, 2024
1 parent 3b2a6ad commit 01e817a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio-home/StudioHome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const StudioHome = ({ intl }) => {
);

return headerButtons;
}, [location]);
}, [location, userIsActive, isFailedLoadingPage]);

This comment has been minimized.

Copy link
@bradenmacdonald

bradenmacdonald Jul 10, 2024

Contributor

Nice, thanks for finding this :)


const headerButtons = userIsActive ? getHeaderButtons() : [];
if (isLoadingPage && !isFiltered) {
Expand Down

0 comments on commit 01e817a

Please sign in to comment.