refactor: put types in utils
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
useRef,
|
||||
useState,
|
||||
} from "react";
|
||||
import { type InnerKittyProps } from "../../context/KittyContext";
|
||||
import { type InnerKittyProps } from "~/utils/types";
|
||||
import { CHAR_WIDTH } from "../Kitty";
|
||||
import { useKitty } from "~/hooks/useKitty";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useState } from "react";
|
||||
import { formatMMSS } from "../../utils/time";
|
||||
import { CharArray } from "../../utils/string";
|
||||
import { CHAR_HEIGHT, CHAR_WIDTH } from "../Kitty";
|
||||
import { type InnerKittyProps } from "../../context/KittyContext";
|
||||
import { type InnerKittyProps } from "~/utils/types";
|
||||
import { useKitty } from "~/hooks/useKitty";
|
||||
|
||||
export const SpotifyPlayer = (props: {
|
||||
|
||||
Reference in New Issue
Block a user