Merge branch 'thread-line' into 'develop'
Thread fixes See merge request soapbox-pub/soapbox!2507
This commit is contained in:
commit
f4c7ab5dd6
2 changed files with 6 additions and 3 deletions
|
@ -242,7 +242,8 @@ export const fetchOwnAccounts = () =>
|
|||
return state.auth.users.forEach((user) => {
|
||||
const account = state.accounts.get(user.id);
|
||||
if (!account) {
|
||||
dispatch(verifyCredentials(user.access_token, user.url));
|
||||
dispatch(verifyCredentials(user.access_token, user.url))
|
||||
.catch(() => console.warn(`Failed to load account: ${user.url}`));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
@ -404,7 +404,7 @@ const Thread: React.FC<IThread> = (props) => {
|
|||
useEffect(() => {
|
||||
scroller.current?.scrollToIndex({
|
||||
index: ancestorsIds.size,
|
||||
offset: -140,
|
||||
offset: -146,
|
||||
});
|
||||
|
||||
setImmediate(() => statusRef.current?.querySelector<HTMLDivElement>('.detailed-actualStatus')?.focus());
|
||||
|
@ -443,7 +443,9 @@ const Thread: React.FC<IThread> = (props) => {
|
|||
);
|
||||
} else if (!status) {
|
||||
return (
|
||||
<Column>
|
||||
<PlaceholderStatus />
|
||||
</Column>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue