@@ -51,48 +51,48 @@ export function SdkOption({
5151 { ( type || defaultValue || envVar || showBrowserOnly || showServerLikeOnly ) && (
5252 < table className = { styles [ 'sdk-option-table' ] } >
5353 < tbody >
54- { type && (
55- < tr >
56- < th > Type</ th >
57- < td >
58- < code > { type } </ code >
59- </ td >
60- </ tr >
61- ) }
62- { defaultValue && (
63- < tr >
64- < th > Default</ th >
65- < td >
66- < code > { defaultValue } </ code >
67- </ td >
68- </ tr >
69- ) }
70- < PlatformCategorySection supported = { [ 'server' , 'serverless' ] } >
71- < PlatformSection notSupported = { [ 'javascript.nextjs' ] } >
72- { envVar && (
73- < tr >
74- < th > ENV Variable</ th >
75- < td >
76- < code > { envVar } </ code >
77- </ td >
78- </ tr >
79- ) }
80- </ PlatformSection >
81- </ PlatformCategorySection >
54+ { type && (
55+ < tr >
56+ < th > Type</ th >
57+ < td >
58+ < code > { type } </ code >
59+ </ td >
60+ </ tr >
61+ ) }
62+ { defaultValue && (
63+ < tr >
64+ < th > Default</ th >
65+ < td >
66+ < code > { defaultValue } </ code >
67+ </ td >
68+ </ tr >
69+ ) }
70+ < PlatformCategorySection supported = { [ 'server' , 'serverless' ] } >
71+ < PlatformSection notSupported = { [ 'javascript.nextjs' ] } >
72+ { envVar && (
73+ < tr >
74+ < th > ENV Variable</ th >
75+ < td >
76+ < code > { envVar } </ code >
77+ </ td >
78+ </ tr >
79+ ) }
80+ </ PlatformSection >
81+ </ PlatformCategorySection >
8282
83- { showBrowserOnly && (
84- < tr >
85- < th > Only available on</ th >
86- < td > Client</ td >
87- </ tr >
88- ) }
83+ { showBrowserOnly && (
84+ < tr >
85+ < th > Only available on</ th >
86+ < td > Client</ td >
87+ </ tr >
88+ ) }
8989
90- { showServerLikeOnly && (
91- < tr >
92- < th > Only available on</ th >
93- < td > Server</ td >
94- </ tr >
95- ) }
90+ { showServerLikeOnly && (
91+ < tr >
92+ < th > Only available on</ th >
93+ < td > Server</ td >
94+ </ tr >
95+ ) }
9696 </ tbody >
9797 </ table >
9898 ) }
@@ -105,7 +105,7 @@ export function SdkOption({
105105}
106106
107107function getPlatformHints ( categorySupported : PlatformCategory [ ] ) {
108- const { rootNode, path } = serverContext ( ) ;
108+ const { rootNode, path} = serverContext ( ) ;
109109 const currentPlatformOrGuide = getCurrentPlatformOrGuide ( rootNode , path ) ;
110110 const currentCategories = currentPlatformOrGuide ?. categories || [ ] ;
111111
@@ -129,5 +129,5 @@ function getPlatformHints(categorySupported: PlatformCategory[]) {
129129 const showServerLikeOnly =
130130 hasCategorySupported && supportedServerLikeOnly && currentIsBrowser ;
131131
132- return { showBrowserOnly, showServerLikeOnly } ;
132+ return { showBrowserOnly, showServerLikeOnly} ;
133133}
0 commit comments