From e96a574e2be18b3445222348ebc505c508d7bcd2 Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Sun, 9 Jun 2024 00:43:42 +0400 Subject: [PATCH] Fix svg checkmark --- src/app.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index db320e3..02b64c2 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -4,8 +4,8 @@ import * as Toast from "@radix-ui/react-toast"; import { useState } from "react"; import { Controller, useForm } from "react-hook-form"; -import icon_checkbox_checked from "../assets/icon-checkbox-checked.svg"; -import icon_checkbox_unchecked from "../assets/icon-checkbox-unchecked.svg"; +import icon_checkbox_checked from "/assets/icon-checkbox-checked.svg"; +import icon_checkbox_unchecked from "/assets/icon-checkbox-unchecked.svg"; import icon_check from "../assets/check.svg"; import { Button } from "./components/button"; @@ -153,7 +153,7 @@ export default function App() { onCheckedChange={onChange} className="size-300 flex-shrink-0" style={{ - backgroundImage: `url('${icon_checkbox_unchecked}')`, + backgroundImage: `url("${icon_checkbox_unchecked}")`, }} >