Skip to content

Commit c49c4f2

Browse files
committed
initial color bug fix
1 parent bd8c0ba commit c49c4f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Console.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ export const Console: React.FC<Props> = () => {
4242
}
4343
});
4444

45-
chrome.storage.local.get('scrapboxIndentLiningColor', (result) => {
46-
const scrapboxIndentLiningColor = result.scrapboxIndentLiningColor;
45+
chrome.storage.local.get('scrapboxIndentLineColor', (result) => {
46+
const scrapboxIndentLineColor = result.scrapboxIndentLineColor;
4747

48-
if (!scrapboxIndentLiningColor) {
49-
chrome.storage.local.set({ scrapboxIndentLiningColor: '#dcdcdc' });
48+
if (!scrapboxIndentLineColor) {
49+
chrome.storage.local.set({ scrapboxIndentLineColor: '#dcdcdc' });
5050
setIndentLiningColor('#dcdcdc');
5151
} else {
52-
setIndentLiningColor(scrapboxIndentLiningColor);
52+
setIndentLiningColor(scrapboxIndentLineColor);
5353
}
5454
});
5555
}, []);

0 commit comments

Comments
 (0)