warning-tails-fix

This commit is contained in:
Untone 2024-02-03 11:30:01 +03:00
parent 44801d58ec
commit b4c8b4a882
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export const ForgotPasswordForm = () => {
if (errors && errors.some((error) => error.message.includes('bad user credentials'))) { if (errors && errors.some((error) => error.message.includes('bad user credentials'))) {
setIsUserNotFound(true) setIsUserNotFound(true)
} }
if (data.message) setMessage(data.message)
} catch (error) { } catch (error) {
console.error(error) console.error(error)
} finally { } finally {

View File

@ -55,6 +55,7 @@ export const SearchModal = () => {
>( >(
async () => { async () => {
setIsLoading(true) setIsLoading(true)
saveScrollPosition()
const { hasMore, newShouts } = await loadShoutsSearch({ const { hasMore, newShouts } = await loadShoutsSearch({
limit: FEED_PAGE_SIZE, limit: FEED_PAGE_SIZE,
text: inputValue(), text: inputValue(),