Skip to content

Commit b620b59

Browse files
author
phanendraguptha
committed
chore: formated code
1 parent d4fe36e commit b620b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function Search({
108108
}: SearchProps) {
109109
const [isShowing, setIsShowing] = useState(false);
110110

111-
useLayoutEffect(() => {
111+
useLayoutEffect(() => {
112112
const scrollBarWidth = window.innerWidth - document.body.clientWidth;
113113
if (isShowing) {
114114
document.body.style.marginRight = `${scrollBarWidth}px`;

0 commit comments

Comments
 (0)