From 7145b08a44a7bf9f04cd55e38917ed126d298f51 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Thu, 12 Dec 2024 00:54:46 +0800 Subject: [PATCH 1/2] chore(release): 1.2.24 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62e0291c..0f6be3ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [1.2.24](https://github.com/bipproduction/hipmi/compare/v1.2.23...v1.2.24) (2024-12-11) + + +### Bug Fixes + +* drawer katalog ([eab293d](https://github.com/bipproduction/hipmi/commit/eab293dd35a6f061cfa4675679de1ce68f506c3c)) +* loading button tambah portofolio ([8823a01](https://github.com/bipproduction/hipmi/commit/8823a01b067928cbeea195402f2bb454df8e8bea)) +* pencegahan error ([afe8014](https://github.com/bipproduction/hipmi/commit/afe8014cc8b4ab7266f3c52918a6bc82bb62bc58)) + ## [1.2.23](https://github.com/bipproduction/hipmi/compare/v1.2.22...v1.2.23) (2024-12-11) ## [1.2.22](https://github.com/bipproduction/hipmi/compare/v1.2.21...v1.2.22) (2024-12-10) diff --git a/package.json b/package.json index 68de6a42..06b12f78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hipmi", - "version": "1.2.23", + "version": "1.2.24", "private": true, "prisma": { "seed": "npx tsx prisma/seed.ts --yes" From 74448e1dd2ebd9d4fb011767919cfa7e6f56f214 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Thu, 12 Dec 2024 01:08:10 +0800 Subject: [PATCH 2/2] Fix version 1.2.24 --- src/app/page.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3a1f99a2..3dc0d2d4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,11 +2,14 @@ import { SplashScreen } from "@/app_modules/auth"; import { useShallowEffect } from "@mantine/hooks"; +import { useRouter } from "next/navigation"; export default function Page() { + const router = useRouter() useShallowEffect(() => { setTimeout(() => { - window.location.replace("/dev/home"); + // window.location.replace("/dev/home"); + router.replace("/dev/home"); }, 1000); }, []);