mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-08-30 02:24:42 +08:00
update: remove debug log
This commit is contained in:
@@ -16,7 +16,6 @@ export function ToastAchvContainer() {
|
||||
reverseOrder: true,
|
||||
gutter: 8,
|
||||
})
|
||||
console.log('toast offset', toast.id, offset)
|
||||
return (
|
||||
<div
|
||||
className={`toast-item ${toast.visible ? 'visible' : 'hidden'}`}
|
||||
@@ -24,7 +23,6 @@ export function ToastAchvContainer() {
|
||||
ref={el => {
|
||||
if (el && typeof toast.height !== 'number') {
|
||||
const height = el.getBoundingClientRect().height
|
||||
console.log('toast height', toast.id, height)
|
||||
updateHeight(toast.id, height)
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user