theelims / ESP32-sveltekit

A simple and extensible framework for ESP32 based IoT projects with a feature-rich, beautiful, and responsive front-end build with Sveltekit, Tailwind CSS and DaisyUI. This is a project template to get you started in no time with a fully integrated build chain.
https://theelims.github.io/ESP32-sveltekit/
Other
90 stars 15 forks source link

Removes duplicate request #50

Closed runeharlyk closed 2 months ago

runeharlyk commented 2 months ago

The component uses the following for loading initial settings:

{#await getWifiStatus()}
    <Spinner />
{:then nothing}

Which mean the onMount is unnecessary

theelims commented 2 months ago

@runeharlyk This PR left some open ends on the visibility rights. Also I discovered a bug in the model.ts. Please check the latest main for the fixes.