remove trailing whitespaces

This commit is contained in:
Sa-ryong Kang 2017-07-18 01:57:27 +09:00
parent f55a0d804f
commit 1330e59c74
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
// Type definitions for react-daum-postcode 1.2.1
// Type definitions for react-daum-postcode 1.2
// Project: https://github.com/kimminsik-bernard/react-daum-postcode
// Definitions by: Sa-ryong Kang <https://github.com/Sa-ryong>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
// TypeScript Version: 2.2
import { Component } from 'react';
@ -20,4 +20,4 @@ export interface DaumPostcodeProps {
export default class DaumPostcode extends Component<DaumPostcodeProps, any> {
render(): JSX.Element;
}
}

View File

@ -4,8 +4,8 @@ import DaumPostcode from 'react-daum-postcode';
class Postcode extends React.Component<any, any> {
handleAddress = (data: any) => {
let fullAddress: string = data.address;
let extraAddress = '';
let extraAddress = '';
if (data.addressType === 'R') {
if (data.bname !== '') {
extraAddress += data.bname;
@ -26,4 +26,4 @@ class Postcode extends React.Component<any, any> {
/>
);
}
}
}