clean text

This commit is contained in:
Nikita
2024-09-14 14:38:27 +03:00
parent 4038cbe0d7
commit 4ff9868e8e
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ interface LearningStateSelectorProps {
export const LearningStateSelector: React.FC<LearningStateSelectorProps> = ({
showSearch = true,
defaultLabel = "Select state",
defaultLabel = "State",
searchPlaceholder = "Search state...",
value,
onChange,

View File

@@ -21,7 +21,7 @@ export const DescriptionInput: React.FC<DescriptionInputProps> = () => {
<TextareaAutosize
{...field}
autoComplete="off"
placeholder="Description (optional)"
placeholder="Description"
className="placeholder:text-muted-foreground/70 resize-none overflow-y-auto border-none p-1.5 text-[13px] font-medium shadow-none focus-visible:ring-0"
/>
</FormControl>

View File

@@ -231,7 +231,7 @@ export const LinkForm: React.FC<LinkFormProps> = ({
<TopicSelector
{...field}
renderSelectedText={() => (
<span className="truncate">{selectedTopic?.prettyName || "Select a topic"}</span>
<span className="truncate">{selectedTopic?.prettyName || "Topic"}</span>
)}
/>
</FormItem>

View File

@@ -24,7 +24,7 @@ export const NotesSection: React.FC = () => {
<Input
{...field}
autoComplete="off"
placeholder="Take a notes..."
placeholder="Notes"
className={cn("placeholder:text-muted-foreground/70 border-none pl-8 shadow-none focus-visible:ring-0")}
/>
</>