Skip to content

Commit be76d42

Browse files
Marcistmmaxuyang
andauthored
fix: remove redundant code (#79)
Co-authored-by: maxuyang <[email protected]>
1 parent 665c841 commit be76d42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Sync/DynamicTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const DynamicTab: React.FC<DynamicTabProps> = ({ funcPublish }) => {
179179
alert(chrome.i18n.getMessage('optionsSelectPublishPlatforms'));
180180
return;
181181
}
182-
localStorage.setItem('dynamicPlatforms', JSON.stringify(selectedPlatforms));
182+
183183
const data: SyncData = {
184184
platforms: selectedPlatforms,
185185
data: {

src/components/Sync/VideoTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const VideoTab: React.FC<VideoTabProps> = ({ funcPublish }) => {
7171
alert(chrome.i18n.getMessage('optionsSelectPublishPlatforms'));
7272
return;
7373
}
74-
localStorage.setItem('videoPlatforms', JSON.stringify(selectedPlatforms));
74+
7575
const data: SyncData = {
7676
platforms: selectedPlatforms,
7777
data: {

0 commit comments

Comments
 (0)