add user to org
This commit is contained in:
@@ -59,8 +59,7 @@ export type User = {
|
||||
|
||||
const links = [
|
||||
{ to: '', title: 'Perfil', end: true },
|
||||
{ to: 'emails', title: 'Emails' },
|
||||
{ to: 'orgs', title: 'Empresas' }
|
||||
{ to: 'emails', title: 'Emails' }
|
||||
]
|
||||
|
||||
export default function Route({
|
||||
|
||||
@@ -79,16 +79,16 @@ export default function Route({ loaderData: { data } }) {
|
||||
defaultValue={searchParams.get('q') || ''}
|
||||
onChange={(value) =>
|
||||
setSearchParams((searchParams) => {
|
||||
searchParams.set('q', value)
|
||||
searchParams.set('q', String(value))
|
||||
searchParams.delete('p')
|
||||
return searchParams
|
||||
})
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<Button variant="outline" asChild>
|
||||
<Button asChild>
|
||||
<Link to="add">
|
||||
<PlusIcon /> Adicionar colaborador
|
||||
<PlusIcon /> Adicionar
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user