Skip to content

Commit

Permalink
Adapt to new library layout
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed May 22, 2020
1 parent 6f93bbb commit 2c064d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion react-native/src/main/scala/hello/world/App.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import slinky.core.annotations.react
import slinky.core.facade.Hooks.useState
import slinky.core.facade.ReactElement
import slinky.native.ScrollView
import typings.antDesignReactNative.PartialLocale
import typings.antDesignReactNative.anon.PartialLocale
import typings.antDesignReactNative.antDesignReactNativeStrings.xl
import typings.antDesignReactNative.components.{List => AntdList, _}
import typings.bang88ReactNativeDrawerLayout.mod.DrawerLayout
Expand Down
2 changes: 1 addition & 1 deletion react-native/src/main/scala/hello/world/LoadFonts.scala
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ object LoadFonts {
)

state match {
case State.Loading => AppLoading.AnonAutoHideSplash()
case State.Loading => AppLoading.AutoHideSplash()
case State.Error(msg) => Text()(s"Could not load fonts: $msg")
case State.Success => App()
}
Expand Down
2 changes: 1 addition & 1 deletion storybook-react/src/main/scala/demo/Demo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.scalajs.dom.window.alert
import slinky.core.AttrPair
import slinky.web.html._
import typings.storybookReact.mod.storiesOf
import typings.node.module
import typings.node.global.module

object Demo {
def main(args: Array[String]): Unit =
Expand Down

0 comments on commit 2c064d7

Please sign in to comment.