소스 검색

fix: loading

AykutSarac 2 년 전
부모
커밋
84fcb7621f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/Loading/index.tsx

+ 1 - 1
src/components/Loading/index.tsx

@@ -50,7 +50,7 @@ const StyledMessage = styled.div`
 
 export const Loading: React.FC<LoadingProps> = ({ loading = true, message }) => (
   <Center mx="auto">
-    <StyledLoading visible={true}>
+    <StyledLoading visible={loading}>
       <Stack>
         <Image maw={150} src="./assets/rocket_ship.webp" alt="loading image" />
         <Title size="4rem">