fix: no toast on save
This commit is contained in:
@@ -186,7 +186,6 @@ const PostEditor: React.FC<PostEditorProps> = ({ post }) => {
|
|||||||
if (updated) {
|
if (updated) {
|
||||||
updatePost(post.id, updated as Partial<PostData>);
|
updatePost(post.id, updated as Partial<PostData>);
|
||||||
markClean(post.id);
|
markClean(post.id);
|
||||||
showToast.success('Post saved');
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to save post:', error);
|
console.error('Failed to save post:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user