React, {useState, useEffect } are all being used. ... useEffect checks localStorage if the user is logged in; useSWR is the Next.js solution ...
確定! 回上一頁