Skip to content

Commit

Permalink
chore: remove in prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqours committed Dec 27, 2023
1 parent a0fa211 commit fb22ecb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/react-demo/src/component/atom/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { memo } from 'react';
* @desc Pure React Component (Can reuse in other project)
* @desc React memo example
*/
export const Heading = memo(function InHeading() {
export const Heading = memo(function Heading() {
// Check console message in devtool
console.log('[debug] Every component should be memoized and log once');
return <h2>Hello world! (Static Content)</h2>;
Expand Down
2 changes: 1 addition & 1 deletion apps/react-demo/src/component/mobx/MobxSubmit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useSubmitStore } from '../../store/app/submit.store';
/**
* @desc View with Store (Cannot reuse without same store)
*/
export const MobxSubmit = observer(function InMobxSubmit() {
export const MobxSubmit = observer(function MobxSubmit() {
// App store (Mobx)
const submitStore = useSubmitStore();
const onClick = useCallback(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/react-demo/src/component/mobx/MobxThemeSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { observer } from 'mobx-react-lite';
import { useEffect } from 'react';
import { useThemeStore } from '../../store/global/theme.store';

export const MobxThemeSwitch = observer(function InMobxThemeSwitch() {
export const MobxThemeSwitch = observer(function MobxThemeSwitch() {
const themeStore = useThemeStore();

useEffect(() => {
Expand Down

0 comments on commit fb22ecb

Please sign in to comment.