Skip to content

Commit 1faed39

Browse files
committed
remove extra if
1 parent a6dd774 commit 1faed39

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/webviews/webview-side/integrations/IntegrationPanel.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ export const IntegrationPanel: React.FC<IIntegrationPanelProps> = ({ baseTheme,
4141

4242
switch (msg.type) {
4343
case 'loc_init':
44-
if (msg.type === 'loc_init') {
45-
const locStrings = msg.locStrings;
46-
storeLocStrings(locStrings);
47-
}
44+
const locStrings = msg.locStrings;
45+
storeLocStrings(locStrings);
4846
break;
4947

5048
case 'update':

0 commit comments

Comments
 (0)