fix random resource.

This commit is contained in:
2025-06-08 17:56:04 +08:00
parent 99a2d328f1
commit cada7ec635
3 changed files with 8 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ export default function RandomPage() {
network.getRandomResource().then((res) => {
if (res.success) {
navigate(`/resources/${res.data!.id}`, {
replace: true,
state: {
resource: res.data,
},