diff --git a/app/components/icon.tsx b/app/components/icon.tsx index 614f0fd..7555f29 100644 --- a/app/components/icon.tsx +++ b/app/components/icon.tsx @@ -1,4 +1,5 @@ import { type SVGProps } from "react"; + import href from "./icon.svg"; export { href }; diff --git a/package.json b/package.json index 29f90ba..ce34764 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "db:migration:create": "wrangler d1 migrations create", "db:migration:list": "wrangler d1 migrations list", "db:migration:run": "wrangler d1 migrations apply", - "g:icons": "bunx rmx-cli svg-sprite icons app/components" + "g:icons": "bunx rmx-cli svg-sprite icons app/components", + "postg:icons": "prettier --write app/components/icon.tsx && eslint --fix app/components/icon.tsx" }, "lint-stage": { "*.{ts,tsx}": [