Too many changes i forgot

This commit is contained in:
2023-01-01 19:57:27 +00:00
parent 3910c0d67a
commit b7b10eebbc
18 changed files with 183 additions and 74 deletions

View File

@ -3,19 +3,16 @@ import { useSelector } from "react-redux";
import Note from "../element/Note";
import useTimelineFeed from "../feed/TimelineFeed";
import { NoteCreator } from "../element/NoteCreator";
import ProfilePreview from "../element/ProfilePreview";
export default function RootPage() {
const pubKey = useSelector(s => s.login.publicKey);
const follows = useSelector(a => a.login.follows)
const follows = useSelector(a => a.login.follows);
const { notes } = useTimelineFeed(follows);
function followHints() {
if (follows?.length === 0 && pubKey) {
return (
<>
<h3>Hmm you're not following anybody?</h3>
</>
);
return <>Hmm nothing here..</>
}
}