Commit
•
49a7080
1
Parent(s):
2898d65
fix
Browse files
src/app/firehose/page.tsx
CHANGED
@@ -23,7 +23,8 @@ export default function FirehosePage() {
|
|
23 |
useEffect(() => {
|
24 |
startTransition(async () => {
|
25 |
const newPosts = await getLatestPosts({
|
26 |
-
maxNbPosts: 40
|
|
|
27 |
})
|
28 |
setPosts(newPosts)
|
29 |
})
|
|
|
23 |
useEffect(() => {
|
24 |
startTransition(async () => {
|
25 |
const newPosts = await getLatestPosts({
|
26 |
+
maxNbPosts: 40,
|
27 |
+
shuffle: false,
|
28 |
})
|
29 |
setPosts(newPosts)
|
30 |
})
|
src/app/interface/generate/index.tsx
CHANGED
@@ -192,7 +192,8 @@ export function Generate() {
|
|
192 |
useEffect(() => {
|
193 |
startTransition(async () => {
|
194 |
const posts = await getLatestPosts({
|
195 |
-
maxNbPosts: 16
|
|
|
196 |
})
|
197 |
if (posts?.length) {
|
198 |
setCommunityRoll(posts)
|
|
|
192 |
useEffect(() => {
|
193 |
startTransition(async () => {
|
194 |
const posts = await getLatestPosts({
|
195 |
+
maxNbPosts: 16,
|
196 |
+
shuffle: true,
|
197 |
})
|
198 |
if (posts?.length) {
|
199 |
setCommunityRoll(posts)
|