feat: missing change on PR (update ref on shadow dom section)

This commit is contained in:
Zamitto
2025-05-19 11:33:41 -03:00
parent b1fc9073d6
commit 7bb7d2e388
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ export function AchievementNotification() {
<style type="text/css"> <style type="text/css">
{app} {styles} {app} {styles}
</style> </style>
<section ref={(ref) => setShadowRootRef(ref)}> <section ref={setShadowRootRef}>
{isVisible && currentAchievement && ( {isVisible && currentAchievement && (
<AchievementNotificationItem <AchievementNotificationItem
achievement={currentAchievement} achievement={currentAchievement}

View File

@@ -199,7 +199,7 @@ export default function ThemeEditor() {
<style type="text/css"> <style type="text/css">
{app} {styles} {app} {styles}
</style> </style>
<section ref={(ref) => setShadowRootRef(ref)}> <section ref={setShadowRootRef}>
<AchievementNotificationItem <AchievementNotificationItem
position={achievementPreview.position} position={achievementPreview.position}
achievement={achievementPreview.achievement} achievement={achievementPreview.achievement}