Tailwind config and basic services

This commit is contained in:
Aslan 2025-12-31 17:15:14 +01:00
parent f1e90c4dd2
commit be6467cd2c
41 changed files with 581 additions and 102 deletions

View file

@ -0,0 +1,16 @@
import { fetchCommunityApi } from "../../api/community";
import { CommunityActionTypes } from "../../store/community";
import { dispatch } from "../../store/state";
const fetchCommunity = async (id: string) => {
const data = await fetchCommunityApi({
id: id,
});
dispatch({
type: CommunityActionTypes.FETCH_COMMUNITY_FINISH,
payload: data,
});
};
export { fetchCommunity };