Skip to content

Commit

Permalink
feat: make/snowball 에서 뒤로가기시 main으로 라우팅
Browse files Browse the repository at this point in the history
  • Loading branch information
5nxtnxtnxt committed Dec 8, 2023
1 parent ab133dd commit a61c1d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions front/src/pages/Make/Snowball/Snowball.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ const Snowball = () => {
const [make, setMake] = useState(false);
const { snowBallData } = useContext(SnowBallContext);

window.history.pushState({}, '', '/main');
window.history.pushState({}, '', '/make/snowball');
// window.history.replaceState({}, '', '/test');
useEffect(() => {
axios
.get('/api/user', {
Expand Down

0 comments on commit a61c1d5

Please sign in to comment.