File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ const Markers: React.FC<MarkersPropsType> = ({
191191 </ li >
192192 < li className = "flex gap-2" >
193193 < h3 className = "font-semibold" > HAS WP</ h3 >
194- { ! hasWp ? (
194+ { isWpCheckLoading ? (
195195 < NotAvailableMarker loading = { isWpCheckLoading } />
196196 ) : (
197197 < span
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const isWordpressInstalled = async (domain: string) => {
1111 }
1212 ) ;
1313
14- return response . data ;
14+ return response . data . data ;
1515 } catch ( error ) {
1616 console . error ( error ) ;
1717 }
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const Results = () => {
7878 setHasWwwRecord ( answer ) ;
7979 } ) ,
8080 isWordpressInstalled ( domain ) . then ( data => {
81- setHasWp ( data . isInstalled ) ;
81+ setHasWp ( data . wordpressInstalled ) ;
8282 setIsWpCheckLoading ( false ) ;
8383 } ) ,
8484 isCdnActive ( domain ) . then ( data => {
You can’t perform that action at this time.
0 commit comments