Skip to content

Commit

Permalink
Automated linting update and features.json sync
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 23, 2023
1 parent 1dbe3fc commit da31a52
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/studio-ui/src/AppWithLazyLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,13 @@ function renderComponentLoadingProgress(
);
}

function renderResourceLoadingMessage(appLoaded: boolean, stylingLoaded: boolean) {
const resourceLoadComplete = appLoaded && stylingLoaded
function renderResourceLoadingMessage(
appLoaded: boolean,
stylingLoaded: boolean
) {
const resourceLoadComplete = appLoaded && stylingLoaded;
const className = classNames("text-sky-600 mt-4", {
"animate-pulse": !resourceLoadComplete
"animate-pulse": !resourceLoadComplete,
});
const msg = resourceLoadComplete
? "Studio resources loaded!"
Expand Down

0 comments on commit da31a52

Please sign in to comment.