From 9d69a374478834c5ed95a2a48ca6b4a291b69e37 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Wed, 4 Oct 2023 14:21:35 +0800 Subject: [PATCH] fix Desc: - Perubahan tampilan - Penambahan function --- src/app_modules/home/fun/{get-token.ts => api-get-token.ts} | 0 src/app_modules/home/index.ts | 2 +- src/app_modules/home/view.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/app_modules/home/fun/{get-token.ts => api-get-token.ts} (100%) diff --git a/src/app_modules/home/fun/get-token.ts b/src/app_modules/home/fun/api-get-token.ts similarity index 100% rename from src/app_modules/home/fun/get-token.ts rename to src/app_modules/home/fun/api-get-token.ts diff --git a/src/app_modules/home/index.ts b/src/app_modules/home/index.ts index 30db04bb..fb448aff 100644 --- a/src/app_modules/home/index.ts +++ b/src/app_modules/home/index.ts @@ -1,4 +1,4 @@ import HomeView from "./view"; import HomeLayout from "./layout"; -import { getToken } from "./fun/get-token"; +import { getToken } from "./fun/api-get-token"; export {HomeView, HomeLayout, getToken} \ No newline at end of file diff --git a/src/app_modules/home/view.tsx b/src/app_modules/home/view.tsx index b04768cc..acf582c2 100644 --- a/src/app_modules/home/view.tsx +++ b/src/app_modules/home/view.tsx @@ -15,7 +15,7 @@ import { Logout } from "../auth"; import { useState } from "react"; import { ApiHipmi } from "@/app/lib/api"; import { useShallowEffect } from "@mantine/hooks"; -import { getToken } from "./fun/get-token"; +import { getToken } from "./fun/api-get-token"; import { IconAffiliate,