🎨 Format with Biome (#1097)

This commit is contained in:
Alejandra
2024-03-17 17:28:45 +01:00
committed by GitHub
parent d4ee4db2f0
commit 94a2037f8a
31 changed files with 407 additions and 391 deletions

View File

@@ -1,17 +1,17 @@
import { useCallback } from 'react'
import { useToast } from '@chakra-ui/react'
import { useToast } from "@chakra-ui/react"
import { useCallback } from "react"
const useCustomToast = () => {
const toast = useToast()
const showToast = useCallback(
(title: string, description: string, status: 'success' | 'error') => {
(title: string, description: string, status: "success" | "error") => {
toast({
title,
description,
status,
isClosable: true,
position: 'bottom-right',
position: "bottom-right",
})
},
[toast],