fix: update settings problem

chore: ignore yarnrc files
This commit is contained in:
オスカー、 2024-01-31 03:39:19 +09:00
parent cc6776687c
commit 956d0ad098
3 changed files with 7 additions and 5 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@ yarn-error.log
config.json
.yarn
.DS_Store
.yarnrc
.yarnrc.yml

View File

@ -1,2 +0,0 @@
yarnPath: .yarn/releases/yarn-1.22.19.cjs
nodeLinker: node-modules

View File

@ -37,6 +37,7 @@ type SettingDraftType = Partial<Pick<IUser,
| 'remoteFollowersOnly'
| 'template'
| 'useRanking'
| 'appendHashtag'
>>;
type DraftReducer = React.Reducer<SettingDraftType, Partial<SettingDraftType>>;
@ -101,7 +102,8 @@ export const MisshaiPage: React.VFC = () => {
localOnly: data.localOnly,
remoteFollowersOnly: data.remoteFollowersOnly,
template: data.template,
useRanking: data.useRanking
useRanking: data.useRanking,
appendHastag: data.appendHashtag
});
}
}, [data]);