Skip to content

Commit c4086e6

Browse files
committed
Fix version box visibility
1 parent def5697 commit c4086e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/pages/reference/[func].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ const oopList = Array.isArray(funcInfo.oop) ? funcInfo.oop : funcInfo.oop ? [fun
111111
)}
112112

113113
<!-- Description -->
114-
{funcInfo.version ? (() => {
114+
{funcInfo.version ? (
115115
<VersionBox added={funcInfo.version.added || ""} updated={funcInfo.version.updated || ""} removed={funcInfo.version.removed || ""}>
116116
<ItemDescription description={funcInfo.description} requiresReview={funcInfo.requiresReview} />
117117
</VersionBox>
118-
})() : (
118+
) : (
119119
<ItemDescription description={funcInfo.description} requiresReview={funcInfo.requiresReview} />
120120
)}
121121

0 commit comments

Comments
 (0)