chore(language/typescript): remove needless hook setup

tsx-ts-mode inherits from typescript-ts-mode, so it has the same hooks.
This commit is contained in:
2023-04-25 02:04:19 +01:00
parent c137dde815
commit 90fd64ffab

View File

@@ -27,9 +27,7 @@
(use-package tsx-ts-mode
:straight (:type built-in)
:mode "\\.tsx\\'"
:hook
(typescript-mode . siren-typescript-mode-setup))
:mode "\\.tsx\\'")
(defun siren-typescript-mode-setup ()
"Default setup function for `typescript-mode' and `typescript-ts-mode'."