mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
Fixed lint and warnings
This commit is contained in:
parent
d2d3e3ba08
commit
8bee963e53
@ -506,7 +506,7 @@ class SignupPage extends React.Component {
|
||||
const sticky = !showOnlyFree && (freeBenefits.length || freeDescription);
|
||||
|
||||
return (
|
||||
<section class="gh-portal-signup">
|
||||
<section className="gh-portal-signup">
|
||||
<div className='gh-portal-section'>
|
||||
<div className='gh-portal-logged-out-form-container'>
|
||||
<InputForm
|
||||
|
@ -12,17 +12,6 @@ function addRootDiv() {
|
||||
document.body.appendChild(elem);
|
||||
}
|
||||
|
||||
function getSiteUrl() {
|
||||
/**
|
||||
* @type {HTMLElement}
|
||||
*/
|
||||
const scriptTag = document.querySelector('script[data-ghost]');
|
||||
if (scriptTag) {
|
||||
return scriptTag.dataset.ghost;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
function getSiteData() {
|
||||
/**
|
||||
* @type {HTMLElement}
|
||||
|
Loading…
Reference in New Issue
Block a user