mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-21 06:34:30 +01:00
fix build
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { useState, useEffect, useRef } from 'react'
|
import { useState, useEffect } from 'react'
|
||||||
import { useAtom } from 'jotai'
|
import { useAtom } from 'jotai'
|
||||||
import { settingsAtom } from '@/lib/atoms'
|
import { settingsAtom } from '@/lib/atoms'
|
||||||
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '@/components/ui/dialog'
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '@/components/ui/dialog'
|
||||||
@@ -89,7 +89,7 @@ export default function AddEditHabitModal({ isOpen, onClose, onSave, habit }: Ad
|
|||||||
<PopoverContent className="w-[300px] p-0">
|
<PopoverContent className="w-[300px] p-0">
|
||||||
<Picker
|
<Picker
|
||||||
data={data}
|
data={data}
|
||||||
onEmojiSelect={(emoji: any) => {
|
onEmojiSelect={(emoji: { native: string }) => {
|
||||||
setName(prev => `${prev}${emoji.native}`)
|
setName(prev => `${prev}${emoji.native}`)
|
||||||
// Focus back on input after selection
|
// Focus back on input after selection
|
||||||
const input = document.getElementById('name') as HTMLInputElement
|
const input = document.getElementById('name') as HTMLInputElement
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export default function AddEditWishlistItemModal({ isOpen, onClose, onSave, item
|
|||||||
<PopoverContent className="w-[300px] p-0">
|
<PopoverContent className="w-[300px] p-0">
|
||||||
<Picker
|
<Picker
|
||||||
data={data}
|
data={data}
|
||||||
onEmojiSelect={(emoji: any) => {
|
onEmojiSelect={(emoji: { native: string }) => {
|
||||||
setName(prev => `${prev}${emoji.native}`)
|
setName(prev => `${prev}${emoji.native}`)
|
||||||
// Focus back on input after selection
|
// Focus back on input after selection
|
||||||
const input = document.getElementById('name') as HTMLInputElement
|
const input = document.getElementById('name') as HTMLInputElement
|
||||||
|
|||||||
Reference in New Issue
Block a user