Skip to content

Commit

Permalink
feat(groupchat): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Ewing committed May 3, 2022
1 parent 4a2cc8c commit 9c53eff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 6 additions & 6 deletions components/ui/Global/Global.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ export default Vue.extend({
}
}
// const callingPath = `/chat/${
// this.$store.state.conversation.type === 'group' ? 'groups' : 'direct'
// }/${identifier}`
// if (this.$route.path !== callingPath) {
// this.$router.push(callingPath)
// }
const callingPath = `/chat/${
this.$store.state.conversation.type === 'group' ? 'groups' : 'direct'
}/${callId}`
if (this.$route.path !== callingPath) {
this.$router.push(callingPath)
}
if (this.ui.showSettings) {
this.$store.commit('ui/toggleSettings', { show: false })
Expand Down
2 changes: 0 additions & 2 deletions store/textile/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import {
SearchOrderType,
UISearchResultData,
} from '~/types/search/search'
import { Group } from '~/store/groups/types'
import { UISearchResult, QueryOptions } from '~/types/search/search'

const getGroupChatProgram = (): GroupChatsProgram => {
const $SolanaManager: SolanaManager = Vue.prototype.$SolanaManager
Expand Down

0 comments on commit 9c53eff

Please sign in to comment.