Display correct time format on availability page (#3441)

* Pass time format

* Write 24hr time format

* Remove console.log

* Change regex

* Add console.log

* Remove console.log

* Remove console.log

* Update TimeOptions.tsx

* Write time format to localstorage on user create / edit

* Grab and set from local storage

* On user create grab timeformat from browser

* Update timeFormat in DB

* Fix typo

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-07-26 12:02:44 -06:00
1 parent 538c5dff43
commit 35259b75f6
7 files changed
+43 -8

No files matched your search

@@ -14,7 +14,6 @@ let client_secret = "";
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
const { code } = req.query;
console.log("🚀 ~ file: callback.ts ~ line 14 ~ handler ~ code", req.query);
if (typeof code !== "string") {
res.status(400).json({ message: "No code returned" });