diff --git a/src/app.jsx b/src/app.jsx index 09affaa1..ecbd05d8 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -86,7 +86,7 @@ window.__STATES_STATS__ = () => { setInterval(() => { const { statuses } = states; for (const key in statuses) { - const $post = document.querySelector(`[data-state-post-id="${key}"]`); + const $post = document.querySelector(`[data-state-post-id~="${key}"]`); if (!$post) { delete states.statuses[key]; } diff --git a/src/components/status.jsx b/src/components/status.jsx index 94f543ab..20f94705 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -253,7 +253,11 @@ function Status({ if (group) { return ( -