Skip to content

Commit

Permalink
fix interview issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed Jul 1, 2024
1 parent 5dfad0b commit 321455a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/Editor/EditorNavButtons.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Button from "@/components/Primitives/Button";
// import Button from "@/components/Primitives/Button";
import { PublishDialogButton } from "./PublishDialogButton";
import SidePanelTrigger from "./SidePanel/SidePanelTrigger";
/**
Expand Down Expand Up @@ -40,14 +40,14 @@ const EditorNavButtons = ({
{/* show publish button if post not published */}
{/* publish button does same as save draft button, but uses dialog and adds 'forReview' flag */}

<PublishDialogButton
{postObject? <PublishDialogButton
postObject={postObject}
canPublish = {canEdit && postObject?.id ? (true) : (false)}
//save post creates a post or updates an existing one
//for /write (new post), it creates a new post
//for /p/[slug] (existing post), it updates the existing post
onSave={onSave}
/>
/>:null}

{/* show side panel trigger if updatePostSettings is defined (in /p/[slug]) */}
{editor && updatePostSettings !== false ? (
Expand Down
2 changes: 1 addition & 1 deletion components/InterviewDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const InterviewDialog = ({
</ol>
<p>
Once done, we'll publish it and send it out in the newsletter to{" "}
<span className="text-underline">25k+ subscribers</span>. and{" "}
<span className="text-underline">25k+ subscribers</span> and{" "}
<span className="text-underline">100k+ followers</span> on the
Prototypr Medium publication.
</p>
Expand Down

0 comments on commit 321455a

Please sign in to comment.