Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/jira.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: Find JIRA issue code in branch name
uses: atlassian/gajira-find-issue-key@master
with:
string: ${{ github.head_ref }}, ${{ github.event.pull_request.title }}, ${{ github.event.pull_request.body }}
string: ${{ github.head_ref }}, ${{ github.event.pull_request.title }}, ${{ github.event.pull_request.body }}
16 changes: 8 additions & 8 deletions admin/src/components/Initializer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
*
*/

import React, { useEffect, useRef } from "react";
import pluginId from "../../pluginId";
import React, { useEffect, useRef } from 'react';
import pluginId from '../../pluginId';

type InitializerProps = {
setPlugin: (id: string) => void;
setPlugin: (id: string) => void;
};

const Initializer = ({ setPlugin }: InitializerProps) => {
const ref = useRef(setPlugin);
const ref = useRef(setPlugin);

useEffect(() => {
ref.current(pluginId);
}, []);
useEffect(() => {
ref.current(pluginId);
}, []);

return null;
return null;
};

export default Initializer;
4 changes: 2 additions & 2 deletions admin/src/components/PluginIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
*/

import React from "react";
import { Puzzle } from "@strapi/icons";
import React from 'react';
import { Puzzle } from '@strapi/icons';

const PluginIcon: React.VoidFunctionComponent = () => <Puzzle />;

Expand Down
Loading