Auto formatting i guess
This commit is contained in:
@ -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())
|
||||
|
@ -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 ? (
|
||||
|
Reference in New Issue
Block a user