Commit fe5f5fe5 authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

타입 변경

parent 7835a992
import React, { useState } from "react"; import React from "react";
import { useLocation, useParams } from "react-router-dom"; import { useLocation } from "react-router-dom";
import { PostType } from "../types";
interface PostState { interface PostState {
state: { state: PostType;
title: string;
text: string;
theme: string;
city: string;
date: string;
counts: number;
_id: string;
user: string;
};
} }
export function IntoPost() { export function IntoPost() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment