diff --git a/src/Components/LogCard/index.js b/src/Components/LogCard/index.js index 53b29ba..74ee6b8 100644 --- a/src/Components/LogCard/index.js +++ b/src/Components/LogCard/index.js @@ -11,8 +11,6 @@ export default function LogCard({ logApiAddress = Constants.LOG_API_ADDRESS, }) { const { t } = useTranslation(); - // const [checkboxAutoScrollChecked, setCheckboxAutoScrollChecked] = - // useState(true); const [checkboxInfoChecked, setCheckboxInfoChecked] = useState(true); const [checkboxWarningChecked, setCheckboxWarningChecked] = useState(true); const [checkboxErrorChecked, setCheckboxErrorChecked] = useState(true); @@ -116,37 +114,6 @@ export default function LogCard({ } }, [type, selectedDate]); - /* - useEffect(() => { - // scroll to bottom - if ( - checkboxAutoScrollChecked && - virtuosoRef.current !== undefined && - virtuosoRef.current.scrollToIndex !== null - ) { - console.log("scrolltobottom", logs.length); - /* - virtuosoRef.current.scrollToIndex({ - index: logs.length - 1, - align: "start", - behavior: "auto", - });*/ /* - } - }, [logs]); */ - - /* -