Skip to content

Commit

Permalink
update donate text
Browse files Browse the repository at this point in the history
  • Loading branch information
unbug committed Apr 4, 2020
1 parent e82d40d commit dbff5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Donate.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import * as Tools from '../utils/Tools';

const cnText = Tools.randomList(['颈椎病晚期', '穷困潦倒', '快交不起房租', '天天加班', '有可能会猝死'], 1)[0];
export default function Donate(props) {
const cnText = Tools.randomList(['颈椎病晚期', '穷困潦倒', '快交不起房租', '天天加班', '有可能会猝死'], 1)[0];
let text = <h4 className='lang'>Buy <a href='https://twitter.com/unbug' rel='noopener noreferrer' target='_blank'>@unbug</a> a drink</h4>;
if (props.isZH) {
text = <h4 className='lang cn'><a href='https://weibo.com/unbug/' rel='noopener noreferrer' target='_blank'>{cnText}的作者</a>打赏个红包吧</h4>;
Expand Down

0 comments on commit dbff5e4

Please sign in to comment.