This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new eda3e38c4 fix: basic layout footer error (#6861)
eda3e38c4 is described below

commit eda3e38c417efc66050f9911ef8dc882ddd6b88a
Author: 青湛 <[email protected]>
AuthorDate: Tue Jan 23 17:18:02 2024 +1300

    fix: basic layout footer error (#6861)
---
 config-ui/src/routes/layout/layout.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/config-ui/src/routes/layout/layout.tsx 
b/config-ui/src/routes/layout/layout.tsx
index f57a81a93..324bcac88 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -164,12 +164,12 @@ export const Layout = () => {
         </Header>
         <Content style={{ margin: '16px auto', width: 1188 }}>
           <Outlet />
+          {!import.meta.env.DEVLAKE_COPYRIGHT_HIDE && (
+            <Footer>
+              <p style={{ textAlign: 'center' }}>Apache 2.0 License</p>
+            </Footer>
+          )}
         </Content>
-        {!import.meta.env.DEVLAKE_COPYRIGHT_HIDE && (
-          <Footer>
-            <p style={{ textAlign: 'center' }}>Apache 2.0 License</p>
-          </Footer>
-        )}
         <CSSTransition in={!!tipsShow} unmountOnExit timeout={300} 
nodeRef={tipsRef} classNames="tips">
           <S.Tips ref={tipsRef}>
             <div className="content">

Reply via email to