Refaktor, rozdělení api, zpřehlednění kódu
This commit is contained in:
@@ -5,7 +5,8 @@ import BankAccountModal from "./modals/BankAccountModal";
|
||||
import { useBank } from "../context/bank";
|
||||
import FeaturesVotingModal from "./modals/FeaturesVotingModal";
|
||||
import { FeatureRequest } from "../types";
|
||||
import { errorHandler, getFeatureVotes, updateFeatureVote } from "../Api";
|
||||
import { errorHandler } from "../api/Api";
|
||||
import { getFeatureVotes, updateFeatureVote } from "../api/VotingApi";
|
||||
|
||||
|
||||
export default function Header() {
|
||||
|
||||
Reference in New Issue
Block a user