Skip to content

Commit

Permalink
Merge branch 'main' into issues/462
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Oct 9, 2024
2 parents 23cd882 + c336bbd commit c6b18e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
echo "REGISTRY=${{ matrix.registry }}" >> $GITHUB_ENV
echo "REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
elif [ ${{ matrix.registry }} == 'ecr' ]; then
echo "REGISTRY=${{ steps.login-ecr-public.outputs.registry }}" >> $GITHUB_ENV
echo "REGISTRY=${{ vars.ECR_REGISTRY }}" >> $GITHUB_ENV
echo "REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
else
echo "REGISTRY=" >> $GITHUB_ENV
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/PageContainer/PageContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, {
type FC,
type PropsWithChildren,
Suspense,
useEffect,
useMemo,
} from 'react';
Expand All @@ -15,6 +16,7 @@ import { useClusters } from 'lib/hooks/api/clusters';
import { ResourceType } from 'generated-sources';
import { useGetUserInfo } from 'lib/hooks/api/roles';
import { useScreenSize } from 'lib/hooks/useScreenSize';
import PageLoader from 'components/common/PageLoader/PageLoader';

const PageContainer: FC<PropsWithChildren> = ({ children }) => {
const { isLarge } = useScreenSize();
Expand Down Expand Up @@ -62,7 +64,7 @@ const PageContainer: FC<PropsWithChildren> = ({ children }) => {
aria-hidden="true"
aria-label="Overlay"
/>
{children}
<Suspense fallback={<PageLoader fullSize />}>{children}</Suspense>
</S.Container>
</>
);
Expand Down

0 comments on commit c6b18e8

Please sign in to comment.