Timeline
This commit is contained in:
parent
680bbe7d6c
commit
58920a111a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ export const postsSlice = createSlice({
|
|||
reducers: {
|
||||
addPost: (state,{payload}) => {
|
||||
let uuid = window.crypto.randomUUID();
|
||||
state.posts.push({
|
||||
state.posts.unshift({
|
||||
id: uuid,
|
||||
date: moment().toJSON(),
|
||||
context: payload
|
||||
|
|
Loading…
Reference in New Issue