mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-23 03:25:07 +03:00
Clean up
This commit is contained in:
@@ -12,7 +12,7 @@ interface SearchBarProps {
|
||||
rightIcon?: string | React.ReactNode;
|
||||
}
|
||||
|
||||
export default function SearchBar({
|
||||
export default function SearchBar({
|
||||
placeholder,
|
||||
children,
|
||||
searchQuery,
|
||||
@@ -66,11 +66,11 @@ export default function SearchBar({
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
<div
|
||||
ref={parentContainerRef}
|
||||
className="search-parent"
|
||||
>
|
||||
<div
|
||||
<div
|
||||
ref={searchContainerRef}
|
||||
className={`search-bar-container ${isExpanded ? "expanded" : "collapsed"}`}
|
||||
style={{ height: dynamicHeight }}
|
||||
|
||||
Reference in New Issue
Block a user