Skip to content

Commit

Permalink
1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilSpartans committed Jan 16, 2024
1 parent 30c3659 commit bddaf94
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jobibox",
"version": "1.1.2",
"version": "1.1.3",
"description": "La cabine accoustique pour créer un cv vidéo",
"repository": "https://github.com/EvilSpartans/JobiBox",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Logout() {
localStorage.removeItem('selectedQuestions');
localStorage.removeItem('selectedTheme');
localStorage.removeItem('selectedMusic');
// localStorage.removeItem('videoPath');
localStorage.removeItem('videoPath');
localStorage.removeItem('questionTuto');
localStorage.removeItem('themeTuto');
localStorage.removeItem('musicTuto');
Expand Down
2 changes: 1 addition & 1 deletion src/components/LogoutBtn.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function LogoutBtn() {
localStorage.removeItem('selectedQuestions');
localStorage.removeItem('selectedTheme');
localStorage.removeItem('selectedMusic');
// localStorage.removeItem('videoPath');
localStorage.removeItem('videoPath');
localStorage.removeItem('questionTuto');
localStorage.removeItem('themeTuto');
localStorage.removeItem('musicTuto');
Expand Down
4 changes: 0 additions & 4 deletions src/screens/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default function Home() {
const navigate = useNavigate();
const user = useSelector((state) => state.user.user);
const existingBusiness = localStorage.getItem("businessId");
const existingvideoPath = localStorage.getItem("videoPath");

// Hidden cmd to reset config
const handleKeyDown = useCallback((e) => {
Expand All @@ -31,9 +30,6 @@ export default function Home() {
if (!existingBusiness) {
navigate("/config");
}
if (existingvideoPath) {
navigate("/post");
}
}, []);

return (
Expand Down

0 comments on commit bddaf94

Please sign in to comment.