Run prettier
This commit is contained in:
parent
e6806aaa54
commit
24cb81bce0
21 changed files with 4203 additions and 3520 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { useEffect, useRef, RefObject } from "react";
|
||||
import { useEffect, useRef, RefObject } from 'react';
|
||||
|
||||
export function useScrollToBottom<T extends HTMLElement>(): [
|
||||
RefObject<T>,
|
||||
|
|
@ -13,7 +13,7 @@ export function useScrollToBottom<T extends HTMLElement>(): [
|
|||
|
||||
if (container && end) {
|
||||
const observer = new MutationObserver(() => {
|
||||
end.scrollIntoView({ behavior: "instant", block: "end" });
|
||||
end.scrollIntoView({ behavior: 'instant', block: 'end' });
|
||||
});
|
||||
|
||||
observer.observe(container, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue