mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
* basic framework for match/tinder * working version of swiping * working version of profile editing * introducing backend * working matching system * working profile updating * fix all linting issues * updated events to Enum * working profile generation * documentation updates * general PR feedback * working profile loading, matches show matchedAt * slight modification to event strings * added sql imports
29 lines
516 B
TypeScript
29 lines
516 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
export const matchState = {
|
|
profiles: atom({
|
|
key: 'profiles',
|
|
default: null,
|
|
}),
|
|
errorLoadingProfiles: atom({
|
|
key: 'errorLoadingProfiles',
|
|
default: false,
|
|
}),
|
|
matches: atom({
|
|
key: 'matches',
|
|
default: null,
|
|
}),
|
|
errorLoadingMatches: atom({
|
|
key: 'errorLoadingMatches',
|
|
default: false,
|
|
}),
|
|
myProfile: atom({
|
|
key: 'myProfile',
|
|
default: null,
|
|
}),
|
|
noProfileExists: atom({
|
|
key: 'noProfileExists',
|
|
default: false,
|
|
}),
|
|
};
|