1
0

Auto formatting i guess

This commit is contained in:
Ahmed Al-Taiar
2024-09-20 20:22:09 -04:00
parent 54ccf1ea39
commit 4d722c34fe
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export const Failure = ({ error }: CellFailureProps) => (
export const Success = ({ part }: CellSuccessProps<EditPartById>) => {
const [updatePart, { loading, error }] = useMutation(UPDATE_PART_MUTATION, {
onCompleted: () => {
toast.custom((t) => (
((t) => (
<ToastNotification toast={t} type="success" message="Part updated" />
))
navigate(routes.parts())

View File

@ -56,7 +56,7 @@ const NavBarLayout = ({ children }: NavBarLayoutProps) => {
<ThemeToggle />
<Link
to={routes.basket()}
className="items-center btn btn-ghost hidden hover:shadow-lg lg:flex"
className="btn btn-ghost hidden items-center hover:shadow-lg lg:flex"
>
<div className="indicator">
{basket.length > 0 ? (