diff --git a/src/App.js b/src/App.js
index e981c5a3..44958c75 100644
--- a/src/App.js
+++ b/src/App.js
@@ -27,6 +27,7 @@ export default function App() {
const [selectedTitle, setSelectedTitle] = useState('');
const [selectedAddress, setSelectedAddress] = useState('');
+ const [selectedStyle, setSelectedStyle] = useState('Yotsuba');
return (
@@ -44,9 +45,9 @@ export default function App() {
color={bodyStyle.color}
fontFamily={bodyStyle.fontFamily}
/>
-
+
- } />
+ } />
}>
} />
diff --git a/src/components/Board.jsx b/src/components/Board.jsx
index f5541ec1..8a7a996e 100644
--- a/src/components/Board.jsx
+++ b/src/components/Board.jsx
@@ -7,8 +7,7 @@ import { BoardContext } from '../App';
const Board = ({ setBodyStyle }) => {
const [defaultSubplebbits, setDefaultSubplebbits] = useState([]);
- const [selectedStyle, setSelectedStyle] = useState("Yotsuba");
- const { selectedTitle, setSelectedTitle, selectedAddress, setSelectedAddress } = useContext(BoardContext);
+ const { selectedTitle, setSelectedTitle, selectedAddress, setSelectedAddress, selectedStyle, setSelectedStyle } = useContext(BoardContext);
const [showPostFormLink, setShowPostFormLink] = useState(true);
const [showPostForm, setShowPostForm] = useState(false);
const navigate = useNavigate();
@@ -204,7 +203,7 @@ const Board = ({ setBodyStyle }) => {
Style:
-