chore(sync): remove commented out code

This commit is contained in:
rcmerci
2022-03-23 13:13:09 +08:00
parent 33336bb1f4
commit 93be69da0f
3 changed files with 2 additions and 32 deletions

View File

@@ -82,24 +82,6 @@
(util/stop e))}
svg/external-link " release channel"]])])]))
;; (rum/defc delete-account-confirm
;; [close-fn]
;; [:div
;; (ui/admonition
;; :important
;; [:p.text-gray-700 (t :user/delete-account-notice)])
;; [:div.mt-5.sm:mt-4.sm:flex.sm:flex-row-reverse
;; [:span.flex.w-full.rounded-md.sm:ml-3.sm:w-auto
;; [:button.inline-flex.justify-center.w-full.rounded-md.border.border-transparent.px-4.py-2.bg-indigo-600.text-base.leading-6.font-medium.text-white.shadow-sm.hover:bg-indigo-500.focus:outline-none.focus:border-indigo-700.focus:shadow-outline-indigo.transition.ease-in-out.duration-150.sm:text-sm.sm:leading-5
;; {:type "button"
;; :on-click user-handler/deprecated-delete-account!}
;; (t :user/delete-account)]]
;; [:span.mt-3.flex.w-full.rounded-md.sm:mt-0.sm:w-auto
;; [:button.inline-flex.justify-center.w-full.rounded-md.border.border-gray-300.px-4.py-2.bg-white.text-base.leading-6.font-medium.text-gray-700.shadow-sm.hover:text-gray-500.focus:outline-none.focus:border-blue-300.focus:shadow-outline-blue.transition.ease-in-out.duration-150.sm:text-sm.sm:leading-5
;; {:type "button"
;; :on-click close-fn}
;; "Cancel"]]]])
(rum/defc outdenting-hint
[]
[:div.ui__modal-panel
@@ -655,19 +637,6 @@
:target "_blank"}
"https://github.com/isomorphic-git/cors-proxy"]])])
;; (when logged?
;; [:div
;; [:hr]
;; [:div.sm:grid.sm:grid-cols-3.sm:gap-4.sm:items-center.sm:pt-5
;; [:label.block.text-sm.font-medium.leading-5.opacity-70.text-red-600.dark:text-red-400
;; {:for "delete account"}
;; (t :user/delete-account)]
;; [:div.mt-1.sm:mt-0.sm:col-span-2
;; [:div.max-w-lg.rounded-md.sm:max-w-xs
;; (ui/button (t :user/delete-your-account)
;; :on-click (fn []
;; (ui-handler/toggle-settings-modal!)
;; (js/setTimeout #(state/set-modal! delete-account-confirm))))]]]])
]))
(rum/defcs settings