Skip to content

Commit 15d15ed

Browse files
ArslanYMvacekj
andauthored
fix: Updated link in the public/private question to be explorer.gitco… (#2327)
Co-authored-by: Atris <[email protected]>
1 parent 8feaf40 commit 15d15ed

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

packages/round-manager/src/features/round/RoundDetailForm.tsx

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,10 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
255255
<div className="grid grid-cols-6 gap-6 mb-1">
256256
<div className="col-span-6 sm:col-span-3">
257257
<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
260259
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
261260
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
262-
}`}
261+
}`}
263262
>
264263
<label
265264
htmlFor="applicationsStartTime"
@@ -351,15 +350,13 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
351350

352351
<div className="col-span-6 sm:col-span-3">
353352
<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
356354
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
357355
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
358-
} ${
359-
rollingApplications
356+
} ${rollingApplications
360357
? "cursor-not-allowed bg-gray-100"
361358
: ""
362-
}`}
359+
}`}
363360
>
364361
<label
365362
htmlFor="applicationsEndTime"
@@ -426,11 +423,10 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
426423
<div className="grid grid-cols-6 gap-6">
427424
<div className="col-span-6 sm:col-span-3">
428425
<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
431427
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
432428
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
433-
}`}
429+
}`}
434430
>
435431
<label
436432
htmlFor="roundStartTime"
@@ -489,11 +485,10 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
489485

490486
<div className="col-span-6 sm:col-span-3">
491487
<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
494489
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
495490
: "border-gray-300 focus-within:border-indigo-600 focus-within:ring-indigo-600"
496-
}`}
491+
}`}
497492
>
498493
<label htmlFor="roundEndTime" className="block text-[10px]">
499494
End Date
@@ -566,7 +561,7 @@ export function RoundDetailForm(props: RoundDetailFormProps) {
566561
<p className="text-sm mt-0.5">
567562
<a
568563
className="text-violet-400 mr-1"
569-
href="https://grant-explorer.gitcoin.co/"
564+
href="https://explorer.gitcoin.co/"
570565
target="_blank"
571566
>
572567
Gitcoin Explorer
@@ -707,11 +702,10 @@ export function SupportTypeButton(props: {
707702
const { supportType } = props;
708703
return (
709704
<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
712706
? "border-red-300 text-red-900 placeholder-red-300 focus-within:outline-none focus-within:border-red-500 focus-within: ring-red-500"
713707
: "border-gray-300 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"
714-
}`}
708+
}`}
715709
data-testid="support-type-select"
716710
id={"roundMetadata.support.type"}
717711
>

0 commit comments

Comments
 (0)