39 })
40 const variants = useCustomVariant()
41 const theme = useMantineTheme()
42 const pwResetHandler = api.user.forgotPassword.useMutation({ onSuccess: () => {} }) 43 const { animateCSS, fireEvent } = useShake({ variant: 1 })
44 const [opened, handler] = useDisclosure(false)
45 const { isMobile } = useScreenSize()
39 .command(
40 'down',
41 'Stop docker containers',
42 () => {},43 async () => {
44 try {
45 await compose.ps({ config: dockerComposeFile })
23 .command(
24 'up',
25 'Start docker containers',
26 () => {},27 async () => {
28 if (process.env.DATABASE_URL && postgresLocalUrlRegex.test(process.env.DATABASE_URL)) {
29 console.log("Starting docker...")
Having empty functions hurts readability, and is considered a code-smell. There's almost always a way to avoid using them. If you must use one, consider adding a comment to inform the reader of its purpose.
getUser('SwaGaLisTiQuE', () => {})
getUser('SwaGaLisTiQuE', () => {
// empty because <reason>
})