File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 11NEXTAUTH_URL = http://127.0.0.1:3000
2- DATABASE_URL = postgres://wille:wille @localhost:5432 /osm-teams?sslmode=disable
2+ DATABASE_URL = postgres://postgres:postgres @localhost:5433 /osm-teams?sslmode=disable
Original file line number Diff line number Diff line change 11NEXTAUTH_URL = http://127.0.0.1:3000
22NEXTAUTH_SECRET = next-auth-cypress-secret
3- DATABASE_URL = postgres://wille:wille @localhost:5432 /osm-teams-test
3+ DATABASE_URL = postgres://postgres:postgres @localhost:5434 /osm-teams-test
44TESTING = true
55LOG_LEVEL = silent
66AUTH_URL = http://127.0.0.1:3000
Original file line number Diff line number Diff line change @@ -156,27 +156,24 @@ export function AddMemberByUsernameForm({ onSubmit }) {
156156 < Box display = 'flex' justifyContent = 'stretch' py = { 3 } px = { 1 } >
157157 < List spacing = { 5 } fontSize = 'sm' width = { '100%' } >
158158 { searchResult ?. length &&
159- searchResult . map ( ( result ) => (
159+ searchResult . map ( ( u ) => (
160160 < ListItem
161- key = { result . id }
161+ key = { u . id }
162162 display = 'flex'
163163 alignItems = 'center'
164164 justifyContent = 'space-between'
165165 marginTop = '1rem'
166166 >
167167 < ListIcon as = { AtSignIcon } color = 'brand.600' />
168- < Link
169- href = { join ( OSM_DOMAIN , '/user' , result . name ) }
170- isExternal
171- >
172- { result . name }
168+ < Link href = { join ( OSM_DOMAIN , '/user' , u . name ) } isExternal >
169+ { u . name }
173170 </ Link >
174- < Code ml = { 2 } > { result . id } </ Code >
171+ < Code ml = { 2 } > { u . id } </ Code >
175172 < Button
176173 ml = 'auto'
177174 textTransform = 'lowercase'
178175 onClick = { async ( ) =>
179- submit ( result . id , result . name , {
176+ submit ( u . id , u . name , {
180177 setStatus,
181178 setSubmitting,
182179 resetForm,
You can’t perform that action at this time.
0 commit comments