Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/client/src/shared/components/sidebar/CreateItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { cn } from '@pinback/design-system/utils';
interface CreateItemProps {
onClick: () => void;
}
//TODO: onClick 이벤트 추가

export default function CreateItem({ onClick }: CreateItemProps) {
return (
Expand Down
5 changes: 4 additions & 1 deletion packages/design-system/src/components/popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ const Popup = ({
helperText={helperText}
isError={isError}
value={inputValue}
onChange={(e) => onInputChange?.(e.target.value)}
onChange={(e) => onInputChange?.(e.target.value.replace(/\s/g, ''))}
onKeyDown={(e) => {
if (e.key === ' ') e.preventDefault();
}}
defaultValue={defaultValue}
/>
{isError && errortext && (
Expand Down
Loading