File tree 2 files changed +4
-4
lines changed
apps/web/src/views/snippets
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ const NewSnippetButton: Component = () => {
24
24
25
25
setRenaming ( contentGroup . id ) ;
26
26
setLoading ( false ) ;
27
- notify ( { text : "New content group created" , type : "success" } ) ;
27
+ notify ( { text : "New snippet created" , type : "success" } ) ;
28
28
} catch ( error ) {
29
29
setLoading ( false ) ;
30
- notify ( { text : "Couldn't create new content group " , type : "error" } ) ;
30
+ notify ( { text : "Couldn't create new snippet " , type : "error" } ) ;
31
31
}
32
32
} }
33
33
>
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ const SnippetEntry: Component<SnippetEntryProps> = (props) => {
56
56
await client . snippets . delete . mutate ( { id : props . snippet . id } ) ;
57
57
snippetsActions . deleteSnippet ( { id : props . snippet . id } ) ;
58
58
setLoading ( "" ) ;
59
- notify ( { text : "Content piece deleted" , type : "success" } ) ;
59
+ notify ( { text : "Snippet deleted" , type : "success" } ) ;
60
60
} catch ( error ) {
61
- notify ( { text : "Couldn't delete the content piece " , type : "error" } ) ;
61
+ notify ( { text : "Couldn't delete the snippet " , type : "error" } ) ;
62
62
setLoading ( "" ) ;
63
63
}
64
64
}
You can’t perform that action at this time.
0 commit comments