Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #43 from YunBongtae/GPM-1000
Browse files Browse the repository at this point in the history
하단 alert 제거 작업
  • Loading branch information
YunBongtae authored Mar 31, 2021
2 parents 91071d8 + 09dbd41 commit de785a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "klaytn-wallet",
"version": "2.3.0",
"version": "2.3.1",
"description": "Klaytn Wallet Project",
"directories": {
"test": "test"
Expand Down
24 changes: 2 additions & 22 deletions src/components/Landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,14 @@ import cookie from 'utils/cookie'
import Disclaimers from 'components/Disclaimers'
import { KLAYTN_URL_NAME } from 'walletConstants/url'
import './Landing.scss'

/* 다른 팝업에 스타일 적용되는 부분이 있어서 추가 */
import './Modal.scss'
class Landing extends Component {
state = {
isShowingModal: false,
}

componentDidMount() {
this.showModal()
}

showModal = () => {
if (cookie.get('hideWalletScamPopup')) return
this.setState({ isShowingModal: true })
}

closeModal = () => {
this.setState({ isShowingModal: false })
}

render() {
const { isShowingModal } = this.state
return (
<Fragment>
<Disclaimers/>
<Modal
closeModal={this.closeModal}
isShowingModal={isShowingModal}
/>
<div className="Landing">
<header className="Landing__title">Welcome to Klaytn Wallet</header>
{KLAYTN_URL_NAME === 'Main Network' ? (
Expand Down

0 comments on commit de785a2

Please sign in to comment.