renamed static to assets

This commit is contained in:
inaseem 2021-11-01 19:22:47 +05:30
parent d312c9510a
commit 4dc3d78e08
4 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import Head from "next/head";
import { useRouter } from "next/router";
import React, { useEffect, useRef, useState } from "react";
import Layouts from "../../components/Layouts";
import langs from "../../static/langs.json";
import langs from "../../assets/langs.json";
import { EventEmitter } from "../../utils/EventEmitter";
ansi.rgb = {
green: "#00FD61",

View File

@ -5,7 +5,7 @@ import { useRouter } from "next/router";
import React, { useRef, useState } from "react";
import LanguageLink from "../components/LanguageLink";
import { Search, SearchIconWrapper, StyledInputBase } from "../components/UI";
import langs from "../static/data.json";
import langs from "../assets/data.json";
export default function Home() {
const [selected, setSelected] = useState(null);