mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-25 20:33:11 +00:00
style: prettier format B139 files
This commit is contained in:
parent
68ab54756e
commit
e731e407ab
3 changed files with 11 additions and 10 deletions
|
|
@ -23,6 +23,7 @@ flowchart LR
|
||||||
```
|
```
|
||||||
|
|
||||||
**Opções consideradas:**
|
**Opções consideradas:**
|
||||||
|
|
||||||
- A — Estender `searchOnlyListOmnibox` com dimensão genérica
|
- A — Estender `searchOnlyListOmnibox` com dimensão genérica
|
||||||
- B — Adapter `organizationOmnibox.ts` no domínio (precedente B128)
|
- B — Adapter `organizationOmnibox.ts` no domínio (precedente B128)
|
||||||
- C — Inline na componente `OrganizationFilters`
|
- C — Inline na componente `OrganizationFilters`
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,10 @@ import { useMemo, useState } from 'react'
|
||||||
|
|
||||||
import { CampaignListOmnibox } from '@/components/campaign/shared/CampaignListOmnibox'
|
import { CampaignListOmnibox } from '@/components/campaign/shared/CampaignListOmnibox'
|
||||||
import { useCampaignListFilterNavigation } from '@/components/campaign/shared/useCampaignListFilterNavigation'
|
import { useCampaignListFilterNavigation } from '@/components/campaign/shared/useCampaignListFilterNavigation'
|
||||||
|
import {
|
||||||
|
buildOrganizationListHref,
|
||||||
|
type OrganizationListState,
|
||||||
|
} from '@/utilities/organization/organizationListUrl'
|
||||||
import {
|
import {
|
||||||
applyOrganizationOmniboxSuggestion,
|
applyOrganizationOmniboxSuggestion,
|
||||||
buildOrganizationOmniboxChips,
|
buildOrganizationOmniboxChips,
|
||||||
|
|
@ -13,10 +17,6 @@ import {
|
||||||
removeOrganizationOmniboxChip,
|
removeOrganizationOmniboxChip,
|
||||||
type OrganizationOmniboxAction,
|
type OrganizationOmniboxAction,
|
||||||
} from '@/utilities/organization/organizationOmnibox'
|
} from '@/utilities/organization/organizationOmnibox'
|
||||||
import {
|
|
||||||
buildOrganizationListHref,
|
|
||||||
type OrganizationListState,
|
|
||||||
} from '@/utilities/organization/organizationListUrl'
|
|
||||||
|
|
||||||
export const OrganizationFilters = ({ state }: { state: OrganizationListState }) => {
|
export const OrganizationFilters = ({ state }: { state: OrganizationListState }) => {
|
||||||
const { navigate, isPending } = useCampaignListFilterNavigation({
|
const { navigate, isPending } = useCampaignListFilterNavigation({
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,12 @@ import {
|
||||||
buildDemandOmniboxChips,
|
buildDemandOmniboxChips,
|
||||||
clearDemandOmnibox,
|
clearDemandOmnibox,
|
||||||
} from '@/utilities/demand/demandOmnibox'
|
} from '@/utilities/demand/demandOmnibox'
|
||||||
|
import { parseLeadershipListParams } from '@/utilities/leadership/leadershipListUrl'
|
||||||
|
import {
|
||||||
|
applyLeadershipOmniboxSuggestion,
|
||||||
|
buildLeadershipOmniboxSuggestionSeeds,
|
||||||
|
filterLeadershipOmniboxSuggestions,
|
||||||
|
} from '@/utilities/leadership/leadershipOmnibox'
|
||||||
import { parseOrganizationListParams } from '@/utilities/organization/organizationListUrl'
|
import { parseOrganizationListParams } from '@/utilities/organization/organizationListUrl'
|
||||||
import {
|
import {
|
||||||
applyOrganizationOmniboxSuggestion,
|
applyOrganizationOmniboxSuggestion,
|
||||||
|
|
@ -25,12 +31,6 @@ import {
|
||||||
filterOrganizationOmniboxSuggestions,
|
filterOrganizationOmniboxSuggestions,
|
||||||
removeOrganizationOmniboxChip,
|
removeOrganizationOmniboxChip,
|
||||||
} from '@/utilities/organization/organizationOmnibox'
|
} from '@/utilities/organization/organizationOmnibox'
|
||||||
import { parseLeadershipListParams } from '@/utilities/leadership/leadershipListUrl'
|
|
||||||
import {
|
|
||||||
applyLeadershipOmniboxSuggestion,
|
|
||||||
buildLeadershipOmniboxSuggestionSeeds,
|
|
||||||
filterLeadershipOmniboxSuggestions,
|
|
||||||
} from '@/utilities/leadership/leadershipOmnibox'
|
|
||||||
import { parseStateDeputyListParams } from '@/utilities/stateDeputyListUrl'
|
import { parseStateDeputyListParams } from '@/utilities/stateDeputyListUrl'
|
||||||
import {
|
import {
|
||||||
applyStateDeputyOmniboxSuggestion,
|
applyStateDeputyOmniboxSuggestion,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue