mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
chore(deps): add prettier organize import
format code
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Lobster, Barlow, JetBrains_Mono, Poppins } from 'next/font/google';
|
||||
import { Barlow, JetBrains_Mono, Lobster, Poppins } from 'next/font/google';
|
||||
|
||||
export const lobster = Lobster({
|
||||
weight: ['400'],
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
const useMounted = () => {
|
||||
const [mounted, setMounted] = useState(false);
|
||||
|
@ -1,9 +1,9 @@
|
||||
import fs from 'fs/promises';
|
||||
import path from 'path';
|
||||
import matter from 'gray-matter';
|
||||
import { MyMatters, Post } from 'types';
|
||||
import { sortByDate } from 'lib/utils';
|
||||
import path from 'path';
|
||||
import { cache } from 'react';
|
||||
import { MyMatters, Post } from 'types';
|
||||
|
||||
export const dataPath = 'content/posts';
|
||||
|
||||
|
Reference in New Issue
Block a user