Prefix methods
This commit is contained in:
committed by
fabioberger
parent
510568d4f1
commit
60521e8167
@@ -40,12 +40,12 @@ export class NextLanding extends React.Component<Props> {
|
||||
</SiteWrap>
|
||||
);
|
||||
}
|
||||
private _onOpenContactModal = (): void => {
|
||||
private readonly _onOpenContactModal = (): void => {
|
||||
window.history.replaceState(null, null, `${window.location.pathname}${window.location.search}#contact`);
|
||||
this.setState({ isContactModalOpen: true });
|
||||
};
|
||||
|
||||
private _onDismissContactModal = (): void => {
|
||||
private readonly _onDismissContactModal = (): void => {
|
||||
window.history.replaceState(null, null, window.location.pathname + window.location.search);
|
||||
this.setState({ isContactModalOpen: false });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user