diff options
author | eug-vs <eug-vs@keemail.me> | 2021-01-14 19:51:16 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-01-14 19:51:26 +0300 |
commit | fa16b78695099fe28d233edc8cb6fce67e5e2648 (patch) | |
tree | b7fc2c80ac998c22cb800d238d683b283bb1cade /src/index.tsx | |
parent | fb6a805f7285a88e485fed52211f0d4631c1e860 (diff) | |
download | react-benzin-fa16b78695099fe28d233edc8cb6fce67e5e2648.tar.gz |
refactor: rename data -> source prop
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 2 |
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 = ( |