Skip to content

Commit 397baf5

Browse files
authored
fix: update logo paths in manifest.json to use absolute URLs (#132)
1 parent 41a4fda commit 397baf5

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

public/manifest.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,23 @@
33
"name": "ESLint Code Explorer",
44
"icons": [
55
{
6-
"src": "favicon.ico",
6+
"src": "/favicon.ico",
77
"sizes": "64x64 32x32 24x24 16x16",
88
"type": "image/x-icon"
99
},
1010
{
11-
"src": "logo192.png",
11+
"src": "/logo192.png",
1212
"type": "image/png",
1313
"sizes": "192x192"
1414
},
1515
{
16-
"src": "logo512.png",
16+
"src": "/logo512.png",
1717
"type": "image/png",
1818
"sizes": "512x512"
1919
}
2020
],
21-
"start_url": ".",
21+
"id": "/",
22+
"start_url": "/",
2223
"display": "standalone",
2324
"theme_color": "#8080F2",
2425
"background_color": "#ffffff"

src/components/options.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import type {
3030
TemplateEngineSyntax,
3131
} from "@/hooks/use-explorer";
3232

33-
const JSONPanel: React.FC = () => {
33+
const JSONPanel: FC = () => {
3434
const explorer = useExplorer();
3535
const { jsonOptions, setJsonOptions } = explorer;
3636
const { jsonMode, allowTrailingCommas } = jsonOptions;
@@ -69,7 +69,7 @@ const JSONPanel: React.FC = () => {
6969
);
7070
};
7171

72-
const MarkdownPanel: React.FC = () => {
72+
const MarkdownPanel: FC = () => {
7373
const explorer = useExplorer();
7474
const { markdownOptions, setMarkdownOptions } = explorer;
7575
const { markdownMode, markdownFrontmatter } = markdownOptions;
@@ -105,7 +105,7 @@ const MarkdownPanel: React.FC = () => {
105105
);
106106
};
107107

108-
const CssPanel: React.FC = () => {
108+
const CssPanel: FC = () => {
109109
const explorer = useExplorer();
110110
const { cssOptions, setCssOptions } = explorer;
111111
const { tolerant } = cssOptions;
@@ -123,7 +123,7 @@ const CssPanel: React.FC = () => {
123123
);
124124
};
125125

126-
const JavaScriptPanel: React.FC = () => {
126+
const JavaScriptPanel: FC = () => {
127127
const explorer = useExplorer();
128128
const { jsOptions, setJsOptions } = explorer;
129129
const { parser, sourceType, esVersion, isJSX } = jsOptions;
@@ -180,7 +180,7 @@ const JavaScriptPanel: React.FC = () => {
180180
);
181181
};
182182

183-
const HTMLPanel: React.FC = () => {
183+
const HTMLPanel: FC = () => {
184184
const explorer = useExplorer();
185185
const { htmlOptions, setHtmlOptions } = explorer;
186186
const { templateEngineSyntax, frontmatter } = htmlOptions;

0 commit comments

Comments
 (0)