Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useState, useEffect } from "react";
import { useMutation, useQueryClient, useQuery } from "@tanstack/react-query";
import { useDebouncedCallback } from 'use-debounce';
import ReactMarkdown from "react-markdown";
import { apiClient } from "@/lib/apiClient";
import { useToast } from "@/hooks/use-toast";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
import { Label } from "@/components/ui/label";
import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
import FileUpload from "@/components/ui/file-upload";
import { useDebouncedCallback } from "use-debounce";

interface ReferenceModalProps {
open: boolean;
Expand Down Expand Up @@ -455,8 +452,8 @@ export default function ReferenceModal({ open, onOpenChange }: ReferenceModalPro
<Label
key={type.value}
className={`flex flex-col items-center gap-1 sm:gap-2 p-2 sm:p-4 border-2 rounded-2xl cursor-pointer transition-all duration-200 ${targetType === type.value
? 'border-fig/40 bg-fig-30'
: 'border-fig/20 hover:border-fig/30 hover:bg-fig-10'
? 'border-fig/40 bg-fig-30'
: 'border-fig/20 hover:border-fig/30 hover:bg-fig-10'
}`}
>
<RadioGroupItem value={type.value} className="sr-only" />
Expand Down
2 changes: 2 additions & 0 deletions platforms/eReputation/client/src/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ const DialogContent = React.forwardRef<
)}
{...props}
>
<div className="h-12 flex-shrink-0 sm:hidden" aria-hidden="true" />
{children}
<div className="h-10 flex-shrink-0 sm:hidden" aria-hidden="true" />
<DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
<X className="h-4 w-4" />
<span className="sr-only">Close</span>
Expand Down
1 change: 1 addition & 0 deletions platforms/eReputation/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default defineConfig(async () => {
emptyOutDir: true,
},
server: {
host: true,
fs: {
strict: true,
deny: ["**/.*"],
Expand Down