Files
formbricks/apps/web/app/ClientLogout.tsx
Matti Nannt 9cc836a775 Clean up + Bugfixes (#443)
* format code

* fix building issue in database package

* update turbo config and package jsons

* update error package with more information and license

* fix typescript issues in ui package

* update package-lock

* update packages

* clean dependencies in web

* clean up dependencies in demo & formbricks-com

* remove unsused template file

* remove legacy capture endpoint

* remove unfinished client endpoints

* clean up unused functions

* fix formbricks not loading on invalid session

* update readme
2023-06-28 13:07:51 +02:00

12 lines
193 B
TypeScript

"use client";
import { signOut } from "next-auth/react";
import { useEffect } from "react";
export default function ClientLogout() {
useEffect(() => {
signOut();
});
return null;
}