Skip to content

Commit

Permalink
Merge pull request #83 from Mjelstad91/fix-rm-deprecate-key
Browse files Browse the repository at this point in the history
Remove deprecate key from render function
  • Loading branch information
Cengizhan Basak authored Jul 17, 2024
2 parents ef50384 + 14c07d5 commit 065c031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import { messenger } from "./utils/messenger";
import { MainPanel } from "./components/MainPanel";

addons.register(ADDON_ID, async api => {
const render = ({ active, key }) => {
const render = ({ active }) => {
const zeplinLink = useParameter(PARAM_KEY, null);

return (
<AddonPanel active={active} key={key}>
<AddonPanel active={active}>
<MainPanel zeplinLink={zeplinLink} />
</AddonPanel>
);
Expand Down

0 comments on commit 065c031

Please sign in to comment.