mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 02:24:56 +00:00
fix: 404 when returning to collections dashboard (#5963)
* fix 404 when returning to collections dashboard, fix a couple hydration issues * fix clippy * fmt * fix hydration issue on revenue page * fix transfer history page error --------- Co-authored-by: aecsocket <aecsocket@tutanota.com>
This commit is contained in:
@@ -150,8 +150,8 @@ pub async fn resolve_server_address(
|
||||
match resolver.srv_lookup(format!("_minecraft._tcp.{host}")).await {
|
||||
Err(e)
|
||||
if e.proto()
|
||||
.filter(|x| x.kind().is_no_records_found())
|
||||
.is_some() =>
|
||||
.as_ref()
|
||||
.is_some_and(|x| x.kind().is_no_records_found()) =>
|
||||
{
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user