Skip to content

Commit 24249aa

Browse files
committed
add link to read me
1 parent f6887f7 commit 24249aa

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

packages/react-scripts/template/src/Toast.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
transform: translateY(100%);
2323
}
2424

25+
.Toast a,
2526
.Toast-button {
2627
padding: 0;
2728
background: transparent;
@@ -31,6 +32,7 @@
3132
font-size: inherit;
3233
line-height: inherit;
3334
text-transform: uppercase;
35+
text-decoration: none;
3436
flex: 0 0 0;
3537
}
3638

packages/react-scripts/template/src/registerServiceWorker.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,16 @@ export default function register() {
6868
}
6969

7070
if (process.env.NODE_ENV !== 'production') {
71-
showMessage('Development mode started.');
71+
showMessage(
72+
<span>
73+
Development mode started.{' '}
74+
<a
75+
href="https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md"
76+
>
77+
Read Me
78+
</a>
79+
</span>
80+
);
7281
}
7382
}
7483

0 commit comments

Comments
 (0)