Merge pull request #11548 from ToolJet/hotfix/container-loading

fix: Fixes broken loading state for container
This commit is contained in:
Johnson Cherian 2024-12-09 14:55:17 +05:30 committed by GitHub
commit a0541c373d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ export const Container = ({
return (
<div
className={`jet-container tw-flex tw-flex-col ${properties.loadingState && 'jet-container-loading'} ${
className={`jet-container tw-flex tw-flex-col ${isLoading ? 'jet-container-loading' : ''} ${
properties.showHeader && 'jet-container--with-header'
}`}
id={id}