mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 12:57:48 +00:00
Fix react tutorial
This commit is contained in:
@@ -50,7 +50,7 @@ export function IdeasProvider(props) {
|
||||
ID.unique(),
|
||||
idea
|
||||
);
|
||||
setIdeas((ideas) => [response.$id, ...ideas].slice(0, 10));
|
||||
setIdeas((ideas) => [response.documents, ...ideas].slice(0, 10));
|
||||
}
|
||||
|
||||
async function remove(id) {
|
||||
|
||||
Reference in New Issue
Block a user