diff --git a/frontend/src/pages/GeneralSettings/Appearance/CustomLogo/index.jsx b/frontend/src/pages/GeneralSettings/Appearance/CustomLogo/index.jsx index 274bcfa31c16fffdf693ef1f5fc07f246ae353f7..1e81f563c3ffb9c8140e70b63e4dbbe377de81b1 100644 --- a/frontend/src/pages/GeneralSettings/Appearance/CustomLogo/index.jsx +++ b/frontend/src/pages/GeneralSettings/Appearance/CustomLogo/index.jsx @@ -107,12 +107,14 @@ export default function CustomLogo() { </div> </div> </label> - <button - onClick={handleRemoveLogo} - className="text-white text-base font-medium hover:text-opacity-60" - > - Delete - </button> + {!isDefaultLogo && ( + <button + onClick={handleRemoveLogo} + className="text-white text-base font-medium hover:text-opacity-60" + > + Delete + </button> + )} </div> </div> </div> diff --git a/frontend/src/pages/OnboardingFlow/Steps/CustomLogo/index.jsx b/frontend/src/pages/OnboardingFlow/Steps/CustomLogo/index.jsx index bb421bc39a953981f0349723dd2bb2fb9f7eda6f..47464dab6205a9e830b8ed9a304d521ad296fb7c 100644 --- a/frontend/src/pages/OnboardingFlow/Steps/CustomLogo/index.jsx +++ b/frontend/src/pages/OnboardingFlow/Steps/CustomLogo/index.jsx @@ -123,13 +123,21 @@ export default function CustomLogo({ setHeader, setForwardBtn, setBackBtn }) { /> </div> )} - - <button - onClick={handleRemoveLogo} - className="text-white text-base font-medium hover:text-opacity-60 mt-8" - > - Remove logo - </button> + {!isDefaultLogo ? ( + <button + onClick={handleRemoveLogo} + className="text-white text-base font-medium hover:text-opacity-60 mt-8" + > + Remove logo + </button> + ) : ( + <button + onClick={handleForward} + className="text-white text-base font-medium hover:text-opacity-60 mt-8" + > + Skip + </button> + )} </div> </div> );