mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 06:43:06 +00:00
chore: format
This commit is contained in:
parent
4ea2085239
commit
be4de299b1
2 changed files with 2 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ flowchart LR
|
|||
```
|
||||
|
||||
**Opções consideradas:**
|
||||
|
||||
- A) Tab como chip de apresentação (não-URL, como scenario em municípios)
|
||||
- B) Tab permanece em `?tab=` com chip/sugestões na omnibox
|
||||
- C) Tab vira filtro de status composto (rejeitado pelo produto)
|
||||
|
|
|
|||
|
|
@ -206,8 +206,7 @@ export const applyActivityOmniboxSuggestion = ({
|
|||
if (suggestionId.startsWith('tab:')) {
|
||||
const value = suggestionId.slice(4) as ActivityTab
|
||||
if (!activityTabs.includes(value)) return { kind: 'url', state }
|
||||
const next =
|
||||
state.tab === value ? setTab(state, 'proximos') : setTab(state, value)
|
||||
const next = state.tab === value ? setTab(state, 'proximos') : setTab(state, value)
|
||||
return { kind: 'url', state: next }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue