export const getCurrentUser = async () => {
  // Simulate fetching user info from an API
  return new Promise<{ username: string; isAdmin: boolean }>((resolve) => {
    setTimeout(() => {
      resolve({
        username: "john_doe",
        isAdmin: true, // change to false to simulate non-admin
      });
    }, 200);
  });
};
