Skip to content

Commit

Permalink
UX adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglescode committed Aug 24, 2023
1 parent f5e45f9 commit 72dd13e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/HomePage/LinkTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default function LinkTextInput({
)}
</div>

{!showCustomSlug && !success && (
{(publishing || !showCustomSlug) && !success && (
<button
type="button"
className="relative -ml-px inline-flex items-center gap-x-1.5 rounded-r-md px-3 py-2 bg-transparent text-sm text-gray-dark disabled:hidden"
Expand Down Expand Up @@ -241,7 +241,7 @@ export default function LinkTextInput({
)}
</div>

{showCustomSlug && !success && (
{!publishing && showCustomSlug && !success && (
<>
<ArrowDownIcon className="h-6 w-6 text-gray-light" />

Expand Down

0 comments on commit 72dd13e

Please sign in to comment.