fix: use getAssetPath for logo so it resolves correctly in packaged app
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
DialogTitle,
|
||||
} from "@/components/ui/dialog";
|
||||
import { useScopedT } from "@/contexts/I18nContext";
|
||||
import getAssetPath from "@/lib/assetPath";
|
||||
|
||||
interface UnsavedChangesDialogProps {
|
||||
isOpen: boolean;
|
||||
@@ -30,7 +31,7 @@ export function UnsavedChangesDialog({
|
||||
<DialogHeader className="mb-5">
|
||||
<div className="flex items-center gap-3">
|
||||
<img
|
||||
src="/openscreen.png"
|
||||
src={getAssetPath("openscreen.png")}
|
||||
alt=""
|
||||
aria-hidden="true"
|
||||
className="w-9 h-9 rounded-xl flex-shrink-0"
|
||||
|
||||
Reference in New Issue
Block a user