Skip to content

Commit ed65018

Browse files
committed
fix scope leak
1 parent 94843c9 commit ed65018

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

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

4242
switch (msg.type) {
4343
case 'loc_init':
44-
const locStrings = msg.locStrings;
45-
storeLocStrings(locStrings);
44+
storeLocStrings(msg.locStrings);
4645
break;
4746

4847
case 'update':

0 commit comments

Comments
 (0)