get rid of circular imports

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-10-25 10:42:11 +02:00
parent bf117d7f1e
commit 7573b65232
29 changed files with 88 additions and 83 deletions
@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import React from 'react';
import { googleAuthApiRef, storageApiRef } from '@backstage/core-plugin-api';
import {
MockStorageApi,
TestApiProvider,
renderInTestApp,
} from '@backstage/test-utils';
import { HomePageCalendar } from '.';
import { gcalendarApiRef, gcalendarPlugin } from '../..';
import { HomePageCalendar } from './HomePageCalendar';
import { gcalendarApiRef } from '../../api';
import { gcalendarPlugin } from '../../plugin';
describe('<HomePageCalendar />', () => {
const primaryCalendar = {
@@ -13,13 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { Box, Button, styled } from '@material-ui/core';
import { CalendarEvent } from './CalendarEvent';
import { eventsMock } from './signInEventMock';
import { GCalendarEvent } from '../..';
import { GCalendarEvent } from '../../api';
type Props = {
handleAuthClick: React.MouseEventHandler<HTMLElement>;