Skip to content

Commit

Permalink
- global.css : new css for capitalize first letter
Browse files Browse the repository at this point in the history
- add schema.ts and zod lib for using with react-hook-form
- add shadcnui lib for design form
  • Loading branch information
laihuyha committed Feb 16, 2024
1 parent 262e969 commit 53aefcb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/web-app/app/_nav/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { LoginButton } from "../_components/LoginButton";
import { getCurrentUser } from "../actions/auth-actions";
import { getCurrentUser } from "../_actions/auth-actions";
import { DropdownUserAction } from "./dropdown-user-action";
import { Logo } from "./logo";
import { Search } from "./search";
Expand Down
2 changes: 1 addition & 1 deletion frontend/web-app/app/auctions/_common/Listings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { AppPagination } from "@/app/_components/AppPagination";
import { Empty } from "@/app/_components/Empty";
import { Loading } from "@/app/_components/Loading";
import { search } from "@/app/actions/search-action";
import { search } from "@/app/_actions/search-action";
import { useCommonStore } from "@/hooks/useCommonStore";
import { useParamsStore } from "@/hooks/useParamStore";
import { PagedResult, SearchParams } from "@/types";
Expand Down
3 changes: 1 addition & 2 deletions frontend/web-app/app/session/auth-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { Button } from "flowbite-react";
import { useState } from "react";
import { update } from "../actions/auction-action";
import { update } from "../_actions/auction-action";

export const AuthTest = () => {
const [loading, setLoading] = useState(false);
Expand All @@ -13,7 +13,6 @@ export const AuthTest = () => {
setLoading(true);
update("afbee524-5972-4075-8800-7d1f9d7b0a0c")
.then((res) => {
console.log({ res });
setResult(res);
})
.finally(() => setLoading(false));
Expand Down
2 changes: 1 addition & 1 deletion frontend/web-app/app/session/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Heading } from "../_components/Heading";
import { getSession, getTokenWorkaround } from "../actions/auth-actions";
import { getSession, getTokenWorkaround } from "../_actions/auth-actions";
import { AuthTest } from "./auth-test";

const SessionPage = async () => {
Expand Down

0 comments on commit 53aefcb

Please sign in to comment.