This commit is contained in:
saqut 2024-01-28 21:21:20 +03:00
parent 680bbe7d6c
commit 58920a111a
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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