Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Commit

Permalink
metainfo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhdaware committed Mar 16, 2020
1 parent 531ce19 commit 9c303a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function fillFormValues(formData) {
* - read queryParams and send title name to editForm
* - in EditForm, add the talk slug as key i1n setLocalStorage's second paramter
*/
function Create({login, logout, user, isLoggedIn, slugToEdit, tempUsername}) {
function Create({login, logout, user, isLoggedIn, slugToEdit, tempUsername, metaInfo}) {
const authObject = {login, logout, user, isLoggedIn};
const [isEditorShown, setIsEditorShown] = useState(true);
const [userData, setUserData] = useState(defaultUser);
Expand Down Expand Up @@ -150,7 +150,7 @@ function Create({login, logout, user, isLoggedIn, slugToEdit, tempUsername}) {

return (
<Fragment>
<Meta/>
<Meta metaInfo={metaInfo}/>
{
isEditorShown
? <Nav {...authObject}/>
Expand Down

1 comment on commit 9c303a8

@vercel
Copy link

@vercel vercel bot commented on 9c303a8 Mar 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.