Skip to content

Commit d583f25

Browse files
committed
update donate text
1 parent c426a88 commit d583f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Donate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22
import * as Tools from '../utils/Tools';
33

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

0 commit comments

Comments
 (0)