mirror of
https://github.com/Xevion/grain.git
synced 2025-12-06 01:15:10 -06:00
Rearrange components & utilities
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { useEventListener, useInterval, useWindowSize } from "usehooks-ts";
|
||||
import useBackground from "@/useBackground";
|
||||
import Post from "@/Post";
|
||||
import { useToggle } from "usehooks-ts";
|
||||
import { useEventListener, useInterval, useWindowSize, useToggle } from "usehooks-ts";
|
||||
import useBackground from "@/utils/useBackground";
|
||||
import Post from "@/components/Post";
|
||||
|
||||
import {
|
||||
ArrowPathIcon,
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import App from "./App";
|
||||
import "./index.scss";
|
||||
import App from "@/components/App";
|
||||
import "@/styles/index.scss";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Chance } from "chance";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { useMemo, useState } from "react";
|
||||
import ReactDOMServer from "react-dom/server";
|
||||
import { getEdgePoint } from "./utils";
|
||||
import { getEdgePoint } from "@/utils/helpers";
|
||||
|
||||
interface useBackgroundProps {
|
||||
width: number;
|
||||
Reference in New Issue
Block a user