aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-01-14 19:51:16 +0300
committereug-vs <eug-vs@keemail.me>2021-01-14 19:51:26 +0300
commitfa16b78695099fe28d233edc8cb6fce67e5e2648 (patch)
treeb7fc2c80ac998c22cb800d238d683b283bb1cade /src/index.tsx
parentfb6a805f7285a88e485fed52211f0d4631c1e860 (diff)
downloadreact-benzin-fa16b78695099fe28d233edc8cb6fce67e5e2648.tar.gz
refactor: rename data -> source prop
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx
index aa786ac..e37e7aa 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -133,7 +133,7 @@ const App: React.FC = () => {
let primaryWindowContent = <Markdown url={url} />;
if (page === 'custom') primaryWindowContent = <CustomPage />;
else if (page === 'live preview') {
- primaryWindowContent = <Markdown data={livePreviewData || '# Start typing in the right window!'} />;
+ primaryWindowContent = <Markdown source={livePreviewData || '# Start typing in the right window!'} />;
}
const tryButton = (