Skip to content

Commit af034d6

Browse files
committed
Merge branch 'develop'
2 parents eda6993 + 1d31a80 commit af034d6

30 files changed

+222
-175
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
push:
44
branches:
55
- main
6+
- develop
67
pull_request:
78
branches:
89
- main
10+
- develop
911
merge_group:
1012
types:
1113
- checks_requested

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pre-commit:
55
glob: "*.{js,ts,jsx,tsx}"
66
run: npx eslint {staged_files}
77
types:
8-
glob: "*.{js,ts, jsx, tsx}"
8+
glob: "*.{js,ts,jsx,tsx}"
99
run: npx tsc
1010
commit-msg:
1111
parallel: true

src/assets/icons/record.png

2.03 KB
Loading

src/assets/record.png

-3.48 KB
Binary file not shown.

src/colors.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const colors = Object.freeze({
2+
black: '#000000',
3+
red: '#ef4444',
4+
gray: '#888888',
5+
lightGray: '#AAAAAA',
6+
});
7+
8+
export default colors;

src/hooks/useConsoleInterceptor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export default function useConsoleInterceptor({ autoEnabled }: ConsoleIntercepto
1616
setLogMessages([]);
1717
};
1818

19-
const _isInterceptorEnabled = () => ConsoleInterceptor.instance.isInterceptorEnabled;
19+
const isEnabled = () => ConsoleInterceptor.instance.isInterceptorEnabled;
2020

2121
const enableInterception = useCallback(() => {
22-
if (_isInterceptorEnabled()) return;
22+
if (isEnabled()) return;
2323

2424
ConsoleInterceptor.instance
2525
.setCallback((type, args) => {
@@ -33,7 +33,7 @@ export default function useConsoleInterceptor({ autoEnabled }: ConsoleIntercepto
3333
}, [setLogMessages]);
3434

3535
const disableInterception = useCallback(() => {
36-
if (!_isInterceptorEnabled()) return;
36+
if (!isEnabled()) return;
3737

3838
ConsoleInterceptor.instance.disableInterception();
3939

0 commit comments

Comments
 (0)