File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -178,17 +178,10 @@ const fetchRolesFork = function* fetchRolesFork() {
178178} ;
179179
180180const fetchSlashCommandsFork = function * fetchSlashCommandsFork ( ) {
181- try {
182- yield getSlashCommands ( ) ;
183- } catch ( e ) {
184- log ( e ) ;
185- }
186- } ;
187-
188- const fetchAppTranslationsFork = function * fetchAppTranslationsFork ( ) {
189181 try {
190182 const appLang = I18n . currentLocale ( ) . split ( '-' ) [ 0 ] ;
191183 yield getAppTranslations ( appLang ) ;
184+ yield getSlashCommands ( ) ;
192185 } catch ( e ) {
193186 log ( e ) ;
194187 }
@@ -261,7 +254,6 @@ const handleLoginSuccess = function* handleLoginSuccess({ user }) {
261254 yield fork ( fetchCustomEmojisFork ) ;
262255 yield fork ( fetchRolesFork ) ;
263256 yield fork ( fetchSlashCommandsFork ) ;
264- yield fork ( fetchAppTranslationsFork ) ;
265257 yield fork ( registerPushTokenFork ) ;
266258 yield fork ( fetchUsersPresenceFork ) ;
267259 yield fork ( fetchEnterpriseModulesFork , { user } ) ;
You can’t perform that action at this time.
0 commit comments