Merge pull request #21132 from mayank99/patch-1

fix: Rename "Story" tab to "Code"
This commit is contained in:
Norbert de Langen 2023-02-17 09:54:31 +01:00 committed by GitHub
commit e7aba8a5b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import { ADDON_ID, PANEL_ID } from './index';
addons.register(ADDON_ID, (api) => {
addons.addPanel(PANEL_ID, {
title: 'Story',
title: 'Code',
render: ({ active, key }) => (active ? <StoryPanel key={key} api={api} /> : null),
paramKey: 'storysource',
});