From a7395a8229481bff5587b4e39a33cbfc46451b6d Mon Sep 17 00:00:00 2001 From: Maciej Makowski Date: Fri, 25 Oct 2024 11:42:01 +0200 Subject: [PATCH] refactor: update imports --- apps/common-app/src/examples/Oscillator/Oscillator.tsx | 8 ++++---- apps/common-app/src/examples/Piano/PianoNote.tsx | 6 +----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/apps/common-app/src/examples/Oscillator/Oscillator.tsx b/apps/common-app/src/examples/Oscillator/Oscillator.tsx index d7a38379..ec7558fb 100644 --- a/apps/common-app/src/examples/Oscillator/Oscillator.tsx +++ b/apps/common-app/src/examples/Oscillator/Oscillator.tsx @@ -3,10 +3,10 @@ import { useRef, useState, useEffect, FC } from 'react'; import { StyleSheet, Text, View, Pressable } from 'react-native'; import { AudioContext, - WaveType, - type GainNode, - type OscillatorNode, - type StereoPannerNode, + GainNode, + OscillatorNode, + StereoPannerNode, + type WaveType, } from 'react-native-audio-api'; import { Container, Slider, Spacer, Button } from '../../components'; diff --git a/apps/common-app/src/examples/Piano/PianoNote.tsx b/apps/common-app/src/examples/Piano/PianoNote.tsx index 0e8b9352..702bbac1 100644 --- a/apps/common-app/src/examples/Piano/PianoNote.tsx +++ b/apps/common-app/src/examples/Piano/PianoNote.tsx @@ -1,8 +1,4 @@ -import type { - GainNode, - AudioContext, - OscillatorNode, -} from 'react-native-audio-api'; +import { GainNode, AudioContext, OscillatorNode } from 'react-native-audio-api'; import { Key } from './utils';