module Config.Helpers.Viewport exposing (..)

import Browser.Dom as Dom exposing (setViewport)
import Task exposing (perform)


type Msg
    = NoOp


resetViewport : Cmd Msg
resetViewport =
    Task.attempt (\_ -> NoOp) (Dom.setViewportOf "scroll-container" 0 0)
