mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-05 10:36:06 -06:00
* 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
12 lines
193 B
TypeScript
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;
|
|
}
|