fix(SW-556): now fetching surprises separately in component.
also showing surprises on any account page
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Sidebar from "@/components/MyPages/Sidebar"
|
||||
import Surprises from "@/components/MyPages/Surprises"
|
||||
|
||||
import styles from "./layout.module.css"
|
||||
|
||||
@@ -17,6 +18,7 @@ export default async function MyPagesLayout({
|
||||
{children}
|
||||
</section>
|
||||
</section>
|
||||
<Surprises />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user