@@ -255,11 +255,10 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
255
255
< div className = "grid grid-cols-6 gap-6 mb-1" >
256
256
< div className = "col-span-6 sm:col-span-3" >
257
257
< div
258
- className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${
259
- errors . applicationsStartTime
258
+ className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${ errors . applicationsStartTime
260
259
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
261
260
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
262
- } `}
261
+ } `}
263
262
>
264
263
< label
265
264
htmlFor = "applicationsStartTime"
@@ -351,15 +350,13 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
351
350
352
351
< div className = "col-span-6 sm:col-span-3" >
353
352
< div
354
- className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${
355
- errors . applicationsEndTime
353
+ className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${ errors . applicationsEndTime
356
354
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
357
355
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
358
- } ${
359
- rollingApplications
356
+ } ${ rollingApplications
360
357
? "cursor-not-allowed bg-gray-100"
361
358
: ""
362
- } `}
359
+ } `}
363
360
>
364
361
< label
365
362
htmlFor = "applicationsEndTime"
@@ -426,11 +423,10 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
426
423
< div className = "grid grid-cols-6 gap-6" >
427
424
< div className = "col-span-6 sm:col-span-3" >
428
425
< div
429
- className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${
430
- errors . roundStartTime
426
+ className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${ errors . roundStartTime
431
427
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
432
428
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
433
- } `}
429
+ } `}
434
430
>
435
431
< label
436
432
htmlFor = "roundStartTime"
@@ -489,11 +485,10 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
489
485
490
486
< div className = "col-span-6 sm:col-span-3" >
491
487
< div
492
- className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${
493
- errors . roundEndTime
488
+ className = { `relative border rounded-md px-3 py-2 mb-2 shadow-sm focus-within:ring-1 ${ errors . roundEndTime
494
489
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
495
490
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
496
- } `}
491
+ } `}
497
492
>
498
493
< label htmlFor = "roundEndTime" className = "block text-[10px]" >
499
494
End Date
@@ -566,7 +561,7 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
566
561
< p className = "text-sm mt-0.5" >
567
562
< a
568
563
className = "text-violet-400 mr-1"
569
- href = "https://grant- explorer.gitcoin.co/"
564
+ href = "https://explorer.gitcoin.co/"
570
565
target = "_blank"
571
566
>
572
567
Gitcoin Explorer
@@ -707,11 +702,10 @@ export function SupportTypeButton(props: {
707
702
const { supportType } = props ;
708
703
return (
709
704
< Listbox . Button
710
- className = { `relative w-full cursor-default rounded-md border h-10 bg-white py-2 pl-3 pr-10 text-left shadow-sm ${
711
- props . errors . roundMetadata ?. support ?. type
705
+ className = { `relative w-full cursor-default rounded-md border h-10 bg-white py-2 pl-3 pr-10 text-left shadow-sm ${ props . errors . roundMetadata ?. support ?. type
712
706
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
713
707
: "border-gray-300 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"
714
- } `}
708
+ } `}
715
709
data-testid = "support-type-select"
716
710
id = { "roundMetadata.support.type" }
717
711
>
0 commit comments