Explorar o código

Simplify code

satof3 %!s(int64=2) %!d(string=hai) anos
pai
achega
1a79b4b22b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/app/src/components/PageControls/PageControls.tsx

+ 1 - 1
apps/app/src/components/PageControls/PageControls.tsx

@@ -285,7 +285,7 @@ const PageControlsSubstance = (props: PageControlsSubstanceProps): JSX.Element =
       )}
 
       { !hideSubControls && (
-        <div className={`hstack gap-1 ${isViewMode && editorMode === EditorMode.View ? '' : 'd-none d-lg-flex'}`}>
+        <div className={`hstack gap-1 ${!isViewMode && 'd-none d-lg-flex'}`}>
           {revisionId != null && _isIPageInfoForOperation && (
             <SubscribeButton
               status={pageInfo.subscriptionStatus}