0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 05:02:43 +00:00

Merge pull request #1452 from G-Ambatte/fixIssue1438

Fix for Issue #1438 - style data not cloning to `/new`
This commit is contained in:
Trevor Buckner
2021-07-25 17:05:36 -04:00
committed by GitHub

View File

@@ -26,6 +26,7 @@ const NewPage = createClass({
return {
brew : {
text : '',
style : undefined,
shareId : null,
editId : null,
createdAt : null,
@@ -46,6 +47,7 @@ const NewPage = createClass({
return {
brew : {
text : this.props.brew.text || '',
style : this.props.brew.style || undefined,
gDrive : false,
title : this.props.brew.title || '',
description : this.props.brew.description || '',