mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 07:28:30 +03:00
Merge pull request #3789 from tylershuster/publish-newline
publish: don't insert newline
This commit is contained in:
commit
880af1e7a5
@ -14,7 +14,7 @@ interface EditPostProps {
|
||||
|
||||
export function EditPost(props: EditPostProps & RouteComponentProps) {
|
||||
const { note, book, noteId, api, ship, history } = props;
|
||||
const body = note.file.slice(note.file.indexOf(";>") + 2);
|
||||
const body = note.file.slice(note.file.indexOf(";>") + 3);
|
||||
const initial: PostFormSchema = {
|
||||
title: note.title,
|
||||
body,
|
||||
|
Loading…
Reference in New Issue
Block a user