Merge pull request #36 from daily-demos/fix/import-order
Fixing import order; eslint fixes
This commit is contained in:
commit
67d26cc3a3
|
|
@ -1,6 +1,4 @@
|
||||||
import DailyIframe from '@daily-co/daily-js';
|
|
||||||
import { useCallback, useEffect, useRef, useState } from 'react';
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
||||||
import { writeText } from 'clipboard-polyfill';
|
|
||||||
import Button from '@custom/shared/components/Button';
|
import Button from '@custom/shared/components/Button';
|
||||||
import {
|
import {
|
||||||
Card,
|
Card,
|
||||||
|
|
@ -9,6 +7,8 @@ import {
|
||||||
CardFooter,
|
CardFooter,
|
||||||
} from '@custom/shared/components/Card';
|
} from '@custom/shared/components/Card';
|
||||||
import { TextInput } from '@custom/shared/components/Input';
|
import { TextInput } from '@custom/shared/components/Input';
|
||||||
|
import DailyIframe from '@daily-co/daily-js';
|
||||||
|
import { writeText } from 'clipboard-polyfill';
|
||||||
import ExpiryTimer from '../components/ExpiryTimer';
|
import ExpiryTimer from '../components/ExpiryTimer';
|
||||||
|
|
||||||
const CALL_OPTIONS = {
|
const CALL_OPTIONS = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import Well from '@custom/shared/components/Well';
|
|
||||||
import Button from '@custom/shared/components/Button';
|
import Button from '@custom/shared/components/Button';
|
||||||
|
import Well from '@custom/shared/components/Well';
|
||||||
|
|
||||||
export function CreateRoomButton({
|
export function CreateRoomButton({
|
||||||
isConfigured,
|
isConfigured,
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import {
|
||||||
CardHeader,
|
CardHeader,
|
||||||
CardFooter,
|
CardFooter,
|
||||||
} from '@custom/shared/components/Card';
|
} from '@custom/shared/components/Card';
|
||||||
import CreateRoomButton from './CreateRoomButton';
|
|
||||||
import Field from '@custom/shared/components/Field';
|
import Field from '@custom/shared/components/Field';
|
||||||
import { TextInput } from '@custom/shared/components/Input';
|
import { TextInput } from '@custom/shared/components/Input';
|
||||||
|
import CreateRoomButton from './CreateRoomButton';
|
||||||
|
|
||||||
export const Home = ({ setRoom, setExpiry, isConfigured }) => {
|
export const Home = ({ setRoom, setExpiry, isConfigured }) => {
|
||||||
const roomRef = useRef(null);
|
const roomRef = useRef(null);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue